Skip to content

Commit

Permalink
Add warmup
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoletta committed Oct 4, 2023
1 parent 2ef0a0f commit 0e2901a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ for file in $(ls $tests_path | grep .cairo | sed -E 's/\.cairo//'); do

export PATH="$(pyenv root)/shims:$PATH"

hyperfine \
hyperfine -w 5 \
-n "Cairo VM (CPython)" "PYENV_VERSION=3.9.15 cairo-run --proof_mode --memory_file /dev/null --trace_file /dev/null --layout starknet_with_keccak --program $tests_path/$file.json" \
-n "Cairo VM (PyPy)" "PYENV_VERSION=pypy3.9-7.3.9 cairo-run --proof_mode --memory_file /dev/null --trace_file /dev/null --layout starknet_with_keccak --program $tests_path/$file.json" \
-n "cairo-vm (Rust)" "cairo-vm/target/release/cairo-vm-cli $tests_path/$file.json --proof_mode --memory_file /dev/null --trace_file /dev/null --layout starknet_with_keccak" \
Expand Down

0 comments on commit 0e2901a

Please sign in to comment.