Add benchmark
Some checks failed
run-checks / run-clang-format (push) Has been cancelled
run-tests / test-on-ubuntu (push) Has been cancelled
run-tests / test-on-windows (push) Has been cancelled
run-tests / test-on-osx (push) Has been cancelled

* add benchmark option
* updated changelog
* added benchmark info to readme
* add bench folder to format.py
This commit is contained in:
Petra Baranski
2025-04-21 01:02:07 +02:00
committed by GitHub
parent 2a00c9fb0b
commit 9ec4777a7b
7 changed files with 152 additions and 2 deletions

14
bench/README.md Normal file
View File

@@ -0,0 +1,14 @@
# maddy benchmarks
## How to run
The benchmarks have to be run in release mode to give proper results.
```shell
# in main folder
mkdir tmp
cd tmp
cmake -DMADDY_BUILD_WITH_BENCH=ON -DCMAKE_BUILD_TYPE=Release ..
make BUILD_TYPE=Release
../build/maddy_benchmark
```