bevy_mod_scripting
bevy_mod_scripting copied to clipboard
Quality benchmarks
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
I am starting work on this in #381
Status quo is sufficient and let's us detect significant changes in core functionality