diff --git a/Cargo.lock b/Cargo.lock index 5050c1edb..dde0849ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -63,6 +63,15 @@ dependencies = [ "alloc-no-stdlib", ] +[[package]] +name = "alloca" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4" +dependencies = [ + "cc", +] + [[package]] name = "allocator-api2" version = "0.2.21" @@ -1246,25 +1255,24 @@ dependencies = [ [[package]] name = "criterion" -version = "0.5.1" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" +checksum = "4d883447757bb0ee46f233e9dc22eb84d93a9508c9b868687b274fc431d886bf" dependencies = [ + "alloca", "anes", "cast", "ciborium", "clap", "criterion-plot", - "is-terminal", - "itertools 0.10.5", + "itertools 0.13.0", "num-traits", - "once_cell", "oorandom", + "page_size", "plotters", "rayon", "regex", "serde", - "serde_derive", "serde_json", "tinytemplate", "walkdir", @@ -1272,12 +1280,12 @@ dependencies = [ [[package]] name = "criterion-plot" -version = "0.5.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" +checksum = "ed943f81ea2faa8dcecbbfa50164acf95d555afec96a27871663b300e387b2e4" dependencies = [ "cast", - "itertools 0.10.5", + "itertools 0.13.0", ] [[package]] @@ -3689,15 +3697,6 @@ version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.13.0" @@ -4935,6 +4934,16 @@ dependencies = [ "syn 2.0.111", ] +[[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 = "pango" version = "0.15.10" diff --git a/crates/claude-log-analyzer/Cargo.toml b/crates/claude-log-analyzer/Cargo.toml index 8c31e6ce9..72dd73fdf 100644 --- a/crates/claude-log-analyzer/Cargo.toml +++ b/crates/claude-log-analyzer/Cargo.toml @@ -79,7 +79,7 @@ rusqlite = { version = "0.32", features = ["bundled"], optional = true } libc = "0.2" [dev-dependencies] -criterion = "0.5" +criterion = "0.8" insta = "1.34" tempfile = "3.8" proptest = "1.4" \ No newline at end of file diff --git a/crates/terraphim_agent_registry/Cargo.toml b/crates/terraphim_agent_registry/Cargo.toml index 86db3a7c3..5cc6d272f 100644 --- a/crates/terraphim_agent_registry/Cargo.toml +++ b/crates/terraphim_agent_registry/Cargo.toml @@ -54,7 +54,7 @@ default = [] benchmarks = ["dep:criterion"] [dependencies.criterion] -version = "0.5" +version = "0.8" optional = true # Disabled due to compilation errors - needs update for current RoleGraph API diff --git a/crates/terraphim_automata/Cargo.toml b/crates/terraphim_automata/Cargo.toml index 29c1503ea..cd47511c2 100644 --- a/crates/terraphim_automata/Cargo.toml +++ b/crates/terraphim_automata/Cargo.toml @@ -47,7 +47,7 @@ typescript = ["tsify"] wasm = ["typescript"] [dev-dependencies] -criterion = "0.5" +criterion = "0.8" tempfile = "3.23" lazy_static = "1.4.0" tokio = { version = "1", features = ["io-util", "time","macros","rt","rt-multi-thread"] } diff --git a/crates/terraphim_goal_alignment/Cargo.toml b/crates/terraphim_goal_alignment/Cargo.toml index 6deceab24..4690bee9c 100644 --- a/crates/terraphim_goal_alignment/Cargo.toml +++ b/crates/terraphim_goal_alignment/Cargo.toml @@ -53,7 +53,7 @@ default = [] benchmarks = ["dep:criterion"] [dependencies.criterion] -version = "0.5" +version = "0.8" optional = true [[bench]] diff --git a/crates/terraphim_multi_agent/Cargo.toml b/crates/terraphim_multi_agent/Cargo.toml index 6dcb94d86..6a9de9c43 100644 --- a/crates/terraphim_multi_agent/Cargo.toml +++ b/crates/terraphim_multi_agent/Cargo.toml @@ -52,7 +52,7 @@ terraphim_service = { path = "../terraphim_service" } [dev-dependencies] tokio-test = "0.4" tempfile = "3.23" -criterion = { version = "0.5", features = ["html_reports"] } +criterion = { version = "0.8", features = ["html_reports"] } # Enable test-utils for examples and benchmarks terraphim_multi_agent = { path = ".", features = ["test-utils"] } diff --git a/crates/terraphim_rolegraph/Cargo.toml b/crates/terraphim_rolegraph/Cargo.toml index e0b7654cb..b5863ce4f 100644 --- a/crates/terraphim_rolegraph/Cargo.toml +++ b/crates/terraphim_rolegraph/Cargo.toml @@ -35,4 +35,4 @@ name = "throughput" harness = false [dev-dependencies] -criterion = "0.5" +criterion = "0.8" diff --git a/crates/terraphim_task_decomposition/Cargo.toml b/crates/terraphim_task_decomposition/Cargo.toml index 7b91ddfa1..dc022dc9e 100644 --- a/crates/terraphim_task_decomposition/Cargo.toml +++ b/crates/terraphim_task_decomposition/Cargo.toml @@ -54,7 +54,7 @@ default = [] benchmarks = ["dep:criterion"] [dependencies.criterion] -version = "0.5" +version = "0.8" optional = true # Benchmarks will be added later