Skip to content

Commit

Permalink
docs/bench: track fewer benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Oct 3, 2024
1 parent 4e9cc17 commit 92740d3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 32,422 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@ jobs:
go-version: "stable"

- name: Run benchmark
run: go test ./... -timeout 20m -bench Benchmark -benchmem | tee output.txt
run: |
go test . -bench BenchmarkBuildFile -benchmem > output.txt
go test . -bench Read -benchmem >> output.txt
go test . -bench Write -benchmem >> output.txt
go test . -bench AlphaField -benchmem >> output.txt
go test . -bench NumericField -benchmem >> output.txt
go test . -bench ParseNumField -benchmem >> output.txt
go test . -bench ParseStringField -benchmem >> output.txt
go test . -bench BenchmarkMergeFiles -benchmem >> output.txt
go test . -bench BenchmarkCalculateCheckDigit -benchmem >> output.txt
go test ./server/ -bench Benchmark -benchmem >> output.txt
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
Expand Down
Loading

0 comments on commit 92740d3

Please sign in to comment.