Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
joonazan committed Mar 1, 2024
1 parent cc4915b commit acc99c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vm-perf-comparison.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
ci_run zk
ci_run zk compiler system-contracts
ci_run cargo bench --package vm-benchmark --bench iai | tee base-iai
ci_run cargo run --release --package vm-benchmark --bin instruction-counts | tee base-opcodes || touch base-opcodes
ci_run cd core/tests/vm_benchmark && cargo run --release --bin instruction-counts | tee base-opcodes || touch base-opcodes
ci_run yarn workspace system-contracts clean
- name: checkout PR
Expand All @@ -58,7 +58,7 @@ jobs:
ci_run zk
ci_run zk compiler system-contracts
ci_run cargo bench --package vm-benchmark --bench iai | tee pr-iai
ci_run cargo run --release --package vm-benchmark --bin instruction-counts | tee pr-opcodes || touch pr-opcodes
ci_run cd core/tests/vm_benchmark && cargo run --release --bin instruction-counts | tee pr-opcodes || touch pr-opcodes
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "speedup<<$EOF" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion core/tests/vm-benchmark/src/compare_iai_results.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use vm_benchmark::parse_iai::parse_iai;
fn main() {
let [iai_before, iai_after, opcodes_before, opcodes_after] = std::env::args()
.skip(1)
.take(2)
.take(4)
.collect::<Vec<_>>()
.try_into()
.expect("expected four arguments");
Expand Down

0 comments on commit acc99c9

Please sign in to comment.