Experiment: use slices in queries #1450
Workflow file for this run
This file contains hidden or 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: | |
| 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.25.x' | |
| - name: Install dependencies | |
| run: go get . | |
| - name: Run benchmarks | |
| run: | | |
| go test -benchmem -run=^$ -bench ^.*$ ./... | |
| internal_tiny: | |
| name: Benchmarks (tiny) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: '1.25.x' | |
| - name: Install dependencies | |
| run: go get . | |
| - name: Run benchmarks | |
| run: | | |
| go test -tags ark_tiny -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.25.1' | |
| - name: Install dependencies | |
| run: go get . | |
| - name: Benchmark tables | |
| run: | | |
| cd ./benchmark | |
| go run ./table 3 | tee BENCHMARKS.md | |
| - name: Archive benchmark results | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: benchmark/BENCHMARKS.md | |
| name: BENCHMARKS.md | |
| tables_tiny: | |
| name: Benchmark Tables (tiny) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: '1.25.1' | |
| - name: Install dependencies | |
| run: go get . | |
| - name: Benchmark tables | |
| run: | | |
| cd ./benchmark | |
| go run -tags ark_tiny ./table 1 | tee BENCHMARKS.md | |
| - name: Archive benchmark results | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: benchmark/BENCHMARKS.md | |
| name: BENCHMARKS-tiny.md |