use Release to run benchmark

This commit is contained in:
lyon 2022-01-04 16:31:01 +08:00
parent 79c9f82054
commit aac306dc56
2 changed files with 9 additions and 1 deletions

View File

@ -1,2 +1,2 @@
build/benchmark/pikascript_benchmark --benchmark_format=json | tee benchmark_result.json
Release/benchmark/pikascript_benchmark --benchmark_format=json | tee benchmark_result.json
python3 ci_benchmark_calibration.py

View File

@ -15,5 +15,13 @@ mkdir build
sh api-make.sh
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cd $ROOT
rm Release -rf
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j
cd $ROOT
sh make.sh