Skip to content

Commit

Permalink
github/workflows: correct the argument provided to benchstat (#616)
Browse files Browse the repository at this point in the history
In 0eb8e91 ("script/benchstat: introduce interleave mode when running
benchmark"), we change the benchstat script's argument. This commit makes the
workflow use the new argument.
  • Loading branch information
minh-bq authored Oct 28, 2024
1 parent 782bf20 commit de528e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/evm-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
go install golang.org/x/perf/cmd/[email protected]
cd core/vm
if [[ ${{ github.event_name }} = "pull_request" ]]; then
../../script/benchstat.sh -c "-test.v -test.run=^$ -test.bench=BenchmarkEvm" \
../../script/benchstat.sh -f "-test.v -test.run=^$ -test.bench=BenchmarkEvm" \
-o $(git rev-parse --short origin/master) -n ${{ github.sha }} -c 10 -i
else
../../script/benchstat.sh -c "-test.v -test.run=^$ -test.bench=BenchmarkEvm" \
../../script/benchstat.sh -f "-test.v -test.run=^$ -test.bench=BenchmarkEvm" \
-o "$OLD_COMMIT" -n "$NEW_COMMIT" -c 10 -i
fi

0 comments on commit de528e0

Please sign in to comment.