mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
18 lines
343 B
Bash
18 lines
343 B
Bash
|
cd Release && make -j
|
||
|
cd ..
|
||
|
|
||
|
RUN_TIMES=$1
|
||
|
# init
|
||
|
rm performance_data*
|
||
|
rm benchmark*.json
|
||
|
touch performance_data.json
|
||
|
echo [] > performance_data.json
|
||
|
|
||
|
for ((i=1; i<=RUN_TIMES;i++))
|
||
|
do
|
||
|
OUT_FILE=benchmark_result_$i.json
|
||
|
# main
|
||
|
bash ci_benchmark_run.sh $OUT_FILE > /dev/null && \
|
||
|
python3 ci_benchmark_calibration.py $OUT_FILE
|
||
|
done
|