Add Go Awesome badge #1671
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmarks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
internal: | |
name: Internals | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.23.x' | |
- name: Install dependencies | |
run: go get . | |
- name: Run internal benchmarks | |
run: | | |
go test -benchmem -run=^$ -bench ^.*$ ./... | |
- name: Run Arche benchmarks | |
run: | | |
cd benchmark | |
go test -benchmem -run=^$ -bench ^.*$ ./arche/... | |
internal_tiny: | |
name: Internals (tiny) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.23.x' | |
- name: Install dependencies | |
run: go get . | |
- name: Run internal benchmarks (tiny) | |
run: | | |
go test -tags tiny -benchmem -run=^$ -bench ^.*$ ./... | |
- name: Run Arche benchmarks (tiny) | |
run: | | |
cd benchmark | |
go test -tags tiny -benchmem -run=^$ -bench ^.*$ ./arche/... | |
tables: | |
name: Benchmark Tables | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.23.x' | |
- name: Install dependencies | |
run: go get . | |
- name: Benchmark tables | |
run: | | |
go run ./benchmark/table | tee BENCHMARKS.md | |
- name: Archive benchmark results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: BENCHMARKS.md | |
path: BENCHMARKS.md |