godotengine / godot-benchmarks

Collection of benchmarks to test performance of different areas of Godot
MIT License
122 stars 32 forks source link

Fix Crypto benchmark taking too long #43

Closed Geometror closed 11 months ago

Geometror commented 11 months ago

benchmark_generate_1g_random_bytes takes way too long to finish (on my machine I aborted the benchmark after around 15 minutes so I don't know when/whether it would finish). The reason: it generates 1G random bytes 100_000 times, which is obviously a bit too much.

I adjusted the random byte benchmarks and made their name more descriptive. All of them finish in 1500 - 3000ms on my machine now.

Revised benchmarks: grafik