Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bencher #539

Merged
merged 4 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading