Skip to content

Commit

Permalink
run benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVlaanderen committed Dec 12, 2023
1 parent 8318293 commit e6aafcb
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/2023.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,21 @@ jobs:
name: 2023 test results
path: 2023/report.xml
reporter: java-junit

- name: Run benchmarks
run: go test -bench . -benchmem | tee output.txt

- name: Download previous benchmark data
uses: actions/cache@v3
with:
path: ./cache
key: ${{ runner.os }}-benchmark

- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'go'
output-file-path: output.txt
external-data-json-path: ./cache/benchmark-data.json
github-token: ${{ secrets.GITHUB_TOKEN }}
summary-always: true

0 comments on commit e6aafcb

Please sign in to comment.