forked from Rust-related/RustPython
pyperf bench script
This commit is contained in:
committed by
Jeong, YunWon
parent
d45c5de906
commit
2c2e0fb172
14
scripts/bench.sh
Normal file
14
scripts/bench.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
for BENCH in "int" "nbody" "fannkuch" "scimark"; do
|
||||
for CPYTHON in "3.9" "3.10"; do
|
||||
CMD="python${CPYTHON} ${BENCH}.py -o reports/${BENCH}_cpython${CPYTHON}.pyperf"
|
||||
echo "${CMD}"
|
||||
${CMD}
|
||||
sleep 1
|
||||
done
|
||||
for RUSTPYTHON in "3819" "main"; do
|
||||
CMD="./target/release/rustpython_${RUSTPYTHON} ${BENCH}.py -o reports/${BENCH}_rustpython_${RUSTPYTHON}.pyperf"
|
||||
echo "${CMD}"
|
||||
${CMD}
|
||||
sleep 1
|
||||
done
|
||||
done
|
||||
Reference in New Issue
Block a user