Skip to content

Commit b01037d

Browse files
authored
Turbopack: add turbo-persistence benchmark (#89446)
### What? add benchmarks for database operations
1 parent 7b2a467 commit b01037d

File tree

9 files changed

+1184
-30
lines changed

9 files changed

+1184
-30
lines changed

Cargo.lock

Lines changed: 15 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ clap = { version = "4.5.2", features = ["derive"] }
381381
concurrent-queue = "2.5.0"
382382
console-subscriber = "0.4.1"
383383
const_format = "0.2.30"
384-
criterion = { package = "codspeed-criterion-compat", version = "3.0.5" }
384+
criterion = { package = "codspeed-criterion-compat", version = "4.3.0" }
385385
crossbeam-channel = "0.5.8"
386386
dashmap = "6.1.0"
387387
data-encoding = "2.3.3"

turbopack/crates/turbo-persistence/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,15 @@ twox-hash = { workspace = true }
3636
zstd = { version = "0.13.2", features = ["zdict_builder"] }
3737

3838
[dev-dependencies]
39+
criterion = { workspace = true }
3940
rand = { workspace = true, features = ["small_rng"] }
4041
rayon = { workspace = true }
4142
tempfile = { workspace = true }
43+
turbo-tasks-malloc = { workspace = true }
4244

4345
[lints]
4446
workspace = true
47+
48+
[[bench]]
49+
name = "mod"
50+
harness = false

0 commit comments

Comments
 (0)