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

@ -22,3 +22,9 @@ windows:
rm -rf ${RELEASE_DIRNAME}_win
all: windows linux
flamegraph:
cargo flamegraph --release --bin bench --features "inline_less"
bench:
cargo run --release --bin bench