diff --git a/Cargo.lock b/Cargo.lock index 5af827a..aa0c122 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -48,6 +48,15 @@ dependencies = [ "equator", ] +[[package]] +name = "alloca" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4" +dependencies = [ + "cc", +] + [[package]] name = "anes" version = "0.1.6" @@ -324,10 +333,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", @@ -338,6 +346,31 @@ dependencies = [ "serde_derive", "serde_json", "tinytemplate", + "walkdir", +] + +[[package]] +name = "criterion" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "950046b2aa2492f9a536f5f4f9a3de7b9e2476e575e05bd6c333371add4d98f3" +dependencies = [ + "alloca", + "anes", + "cast", + "ciborium", + "clap", + "criterion-plot 0.8.2", + "itertools 0.13.0", + "num-traits", + "oorandom", + "page_size", + "plotters", + "rayon", + "regex", + "serde", + "serde_json", + "tinytemplate", "tokio", "walkdir", ] @@ -349,7 +382,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.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea" +dependencies = [ + "cast", + "itertools 0.13.0", ] [[package]] @@ -749,6 +792,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" @@ -907,7 +959,7 @@ name = "msg" version = "0.1.5" dependencies = [ "bytes", - "criterion", + "criterion 0.8.2", "futures", "msg-socket", "msg-transport", @@ -1214,6 +1266,16 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "page_size" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "parking_lot" version = "0.12.5" @@ -1314,7 +1376,7 @@ dependencies = [ "aligned-vec", "backtrace", "cfg-if", - "criterion", + "criterion 0.5.1", "findshlibs", "inferno", "libc", diff --git a/Cargo.toml b/Cargo.toml index 9284321..387d300 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,7 +79,7 @@ rcgen = "0.14" openssl = { version = "0.10" } # benchmarking & profiling -criterion = { version = "0.5", features = ["async_tokio"] } +criterion = { version = "0.8", features = ["async_tokio"] } pprof = { version = "0.15", features = ["flamegraph", "criterion"] } [profile.dev]