mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 10:44:36 +08:00
pyperf bench script
This commit is contained in:
1 parent
d45c5de906
commit
2c2e0fb172
1 file changed
+14
@@ -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