From de528e0471f00406b198c1ded06ce49b023ad1ce Mon Sep 17 00:00:00 2001 From: minh-bq <97180373+minh-bq@users.noreply.github.com> Date: Mon, 28 Oct 2024 17:05:39 +0700 Subject: [PATCH] github/workflows: correct the argument provided to benchstat (#616) In 0eb8e918e ("script/benchstat: introduce interleave mode when running benchmark"), we change the benchstat script's argument. This commit makes the workflow use the new argument. --- .github/workflows/evm-benchmark.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/evm-benchmark.yml b/.github/workflows/evm-benchmark.yml index b365b98d0..350ee5bda 100644 --- a/.github/workflows/evm-benchmark.yml +++ b/.github/workflows/evm-benchmark.yml @@ -44,9 +44,9 @@ jobs: go install golang.org/x/perf/cmd/benchstat@v0.0.0-20240604174448-3b48cf0e0164 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