Skip to content

Commit 5e02819

Browse files
committed
feat(bench): new bechmarking tool
1 parent df93f9b commit 5e02819

17 files changed

+2936
-824
lines changed

.github/workflows/bench-command.yml

Lines changed: 620 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/benchmark.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/cd.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,9 +217,8 @@ jobs:
217217
zsh xz-utils liblz4-tool musl-tools brotli zstd
218218
219219
- name: Install Rust
220-
uses: dtolnay/rust-toolchain@master
220+
uses: dtolnay/rust-toolchain@stable
221221
with:
222-
toolchain: nightly
223222
target: ${{ matrix.target }}
224223

225224
# for some reason, the above action doesn't seem to set the target correctly

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
1818
- name: Install Rust toolchain
19-
uses: dtolnay/rust-toolchain@nightly
19+
uses: dtolnay/rust-toolchain@stable
2020
- uses: Swatinem/rust-cache@v2
2121
- name: Run tests
2222
run: cargo test --locked --all-features --workspace -- --nocapture
@@ -28,7 +28,7 @@ jobs:
2828
- name: Checkout repository
2929
uses: actions/checkout@v4
3030
- name: Install Rust toolchain
31-
uses: dtolnay/rust-toolchain@nightly
31+
uses: dtolnay/rust-toolchain@stable
3232
with:
3333
components: rustfmt
3434
- uses: Swatinem/rust-cache@v2

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
/target
2+
3+
# Benchmark results
4+
bench_results.json
5+
benchmark_results.json
6+
benchmark_results.txt
7+
comparison.md

0 commit comments

Comments
 (0)