bevy_mod_scripting icon indicating copy to clipboard operation
bevy_mod_scripting copied to clipboard

Quality benchmarks

Open makspll opened this issue 9 months ago • 1 comments

BMS is in dire need of benchmarks, I want to ideally have them run in CI and get published somewhere visible, probably the docs.

I want the benchmarks to give consumers a potential idea of how slow/fast various common operations are such as:

  • Reflecting based on depth of reflection
  • Calling a dynamic function etc.

We should compare against something people will be familar with, for example c# reflection

TODO

  • [x] Initial benchmarks infra on bencher.dev
  • [x] Expand benchmarks
  • [x] Integrate benchmarking into xtask
  • [ ] Compare PR benchmarks against main every time, notify of significant regressions or improvements
  • [ ] Add c# benchmark baselines

makspll avatar Feb 12 '25 12:02 makspll

I am starting work on this in #381

makspll avatar Mar 22 '25 15:03 makspll

Status quo is sufficient and let's us detect significant changes in core functionality

makspll avatar Oct 04 '25 15:10 makspll