diff --git a/Cargo.lock b/Cargo.lock index 5035a24e..ce091a6d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -282,10 +282,9 @@ dependencies = [ "cast", "ciborium", "clap", - "criterion-plot", - "futures", + "criterion-plot 0.5.0", "is-terminal", - "itertools", + "itertools 0.10.5", "num-traits", "once_cell", "oorandom", @@ -296,6 +295,29 @@ dependencies = [ "serde_derive", "serde_json", "tinytemplate", + "walkdir", +] + +[[package]] +name = "criterion" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1c047a62b0cc3e145fa84415a3191f628e980b194c2755aa12300a4e6cbd928" +dependencies = [ + "anes", + "cast", + "ciborium", + "clap", + "criterion-plot 0.6.0", + "itertools 0.13.0", + "num-traits", + "oorandom", + "plotters", + "rayon", + "regex", + "serde", + "serde_json", + "tinytemplate", "tokio", "walkdir", ] @@ -307,7 +329,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" dependencies = [ "cast", - "itertools", + "itertools 0.10.5", +] + +[[package]] +name = "criterion-plot" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b1bcc0dc7dfae599d84ad0b1a55f80cde8af3725da8313b528da95ef783e338" +dependencies = [ + "cast", + "itertools 0.13.0", ] [[package]] @@ -690,6 +722,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.15" @@ -853,7 +894,7 @@ name = "msg" version = "0.1.3" dependencies = [ "bytes", - "criterion", + "criterion 0.7.0", "futures", "jemallocator", "msg-socket", @@ -1243,7 +1284,7 @@ dependencies = [ "aligned-vec", "backtrace", "cfg-if", - "criterion", + "criterion 0.5.1", "findshlibs", "inferno", "libc", diff --git a/Cargo.toml b/Cargo.toml index c086fa12..9114f42e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -71,7 +71,7 @@ rcgen = "0.14" openssl = { version = "0.10" } # benchmarking & profiling -criterion = { version = "0.5", features = ["async_tokio"] } +criterion = { version = "0.7", features = ["async_tokio"] } pprof = { version = "0.15", features = ["flamegraph", "criterion"] } # simulation