godotengine / godot-benchmarks

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

Fix mistakes with binary trees & spectral norm #83

Closed OverloadedOrama closed 3 months ago

OverloadedOrama commented 3 months ago

The spectral norm algorithm benchmark implemented in #68 had the wrong inputs. My bad! 😅

EDIT: I also improved its static typing, making it run quite faster.

OverloadedOrama commented 3 months ago

I also had made a mistake with the binary trees algorithm porting and the results were different than the ones from other languages, which I fixed in this PR. That resulted in the algorithm being even slower now, so I lowered the inputs.