Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 138 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Benchmarks

on:
schedule:
# Run M-F at 9:30 UTC (either 9:30 or 10:30 British time depending on season).
- cron: "30 9 * * 1-5"
push:
branches: [develop]

permissions:
actions: read
Expand All @@ -26,16 +25,17 @@ jobs:
- name: Install Protoc
uses: arduino/setup-protoc@v3

- name: Bench - Vortex
run: cargo bench | tee bench.txt
- name: Setup bencher.dev CLI
uses: bencherdev/bencher@main

- name: Upload Vortex Benchmarks
run: |
bencher run \
--project vortex \
--token "${BENCHER_TOKEN}" \
--adapter rust_criterion \
--testbed "github-actions" \
"cargo bench -p bench-vortex"
env:
BENCHER_TOKEN: ${{ secrets.BENCHER_TOKEN }}

- name: Store benchmark result
uses: benchmark-action/[email protected]
with:
name: Vortex Benchmarks
tool: cargo
github-token: ${{ secrets.GITHUB_TOKEN }}
output-file-path: bench.txt
summary-always: true
auto-push: true
fail-on-alert: false
5 changes: 5 additions & 0 deletions bench-vortex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ xshell = { workspace = true }
[dev-dependencies]
criterion = { workspace = true, features = ["html_reports", "async_tokio"] }

[[bin]]
name = "tpch_benchmark"
test = false
bench = false

[[bench]]
name = "compress_benchmark"
harness = false
Expand Down
67 changes: 0 additions & 67 deletions bench-vortex/src/bin/comparison.rs

This file was deleted.

42 changes: 0 additions & 42 deletions bench-vortex/src/bin/compress.rs

This file was deleted.

14 changes: 0 additions & 14 deletions bench-vortex/src/bin/serde.rs

This file was deleted.

0 comments on commit 7f66c45

Please sign in to comment.