Skip to content
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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ jobs:
with:
toolchain: ${{ matrix.rust-version }}

- name: Generate MSRV-compatible lockfile
if: matrix.rust-version == needs.resolve.outputs.MSRV
run: |
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo +stable update

- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@cargo-llvm-cov

Expand Down
3 changes: 1 addition & 2 deletions crates/jiter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ python = ["dep:pyo3", "dep:pyo3-build-config"]
num-bigint = ["dep:num-bigint", "pyo3?/num-bigint"]

[dev-dependencies]
bencher = "0.1.5"
paste = "1.0.7"
serde_json = { version = "1.0.87", features = [
"preserve_order",
Expand All @@ -36,7 +35,7 @@ serde_json = { version = "1.0.87", features = [
] }
serde = "1.0.147"
pyo3 = { workspace = true, features = ["auto-initialize"] }
codspeed-bencher-compat = "2.7.1"
codspeed-criterion-compat = "2.7.2"

[build-dependencies]
pyo3-build-config = { workspace = true, optional = true }
Expand Down
13 changes: 13 additions & 0 deletions crates/jiter/benches/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Benchmarks

Before running benchmarks, make sure to generate `big.json`:

```shell
python3 ./crates/jiter/benches/generate_big.py
```

To run benchmarks, run:

```shell
cargo bench -p jiter
```
Loading
Loading