Skip to content

Commit

Permalink
Fix benchmark command.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Mar 27, 2024
1 parent 8eb543f commit 386dee8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
- name: Run Benchmark (previous)
run: |
cd previous
go test -bench=. -benchmem -benchtime=100ms -count=8 > benchmark.txt
go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > benchmark.txt
- name: Run Benchmark (new)
run: |
cd new
go test -bench=. -benchmem -benchtime=100ms -count=8 > benchmark.txt
go test -bench=. -benchmem -benchtime=100ms -count=10 ./... > benchmark.txt
- name: Run Benchstat
run: benchstat previous/benchmark.txt new/benchmark.txt

0 comments on commit 386dee8

Please sign in to comment.