Add examples for FilterX
, QueryX
and other X
es
#522
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: Benchmarks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.24.x' | |
- name: Install dependencies | |
run: go get . | |
- name: Run benchmarks | |
run: | | |
go test -benchmem -run=^$ -bench ^.*$ ./... | |
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.24.x' | |
- name: Install dependencies | |
run: go get . | |
- name: Benchmark tables | |
run: | | |
cd ./benchmark | |
go run ./table | tee BENCHMARKS.md | |
- name: Archive benchmark results | |
uses: actions/upload-artifact@v4 | |
with: | |
path: benchmark/BENCHMARKS.md | |
name: BENCHMARKS.md |