split step into functions and set up stuff for flamegraph to be usable

This commit is contained in:
Crispy 2025-04-12 16:36:27 +02:00
parent 48b5b3f3c7
commit 660746f16b
4 changed files with 115 additions and 54 deletions

View file

@ -10,6 +10,10 @@ raylib = "5.5"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
[features]
# affects simulation sub-steps, used for profiling
inline_less = []
[[bin]]
name = "bench"
path = "src/benchmark.rs"