diff --git a/Cargo.toml b/Cargo.toml index e6efcfd48..f63c9277e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ sprs = { version = "0.11", default-features = false } thiserror = "2.0" -criterion = { version = "0.5", optional = true } +criterion = { version = "0.7", optional = true } [dependencies.serde_crate] package = "serde" diff --git a/algorithms/linfa-clustering/Cargo.toml b/algorithms/linfa-clustering/Cargo.toml index 6ba9fccd4..35e4d7bd2 100644 --- a/algorithms/linfa-clustering/Cargo.toml +++ b/algorithms/linfa-clustering/Cargo.toml @@ -53,7 +53,7 @@ ndarray-npy = { version = "0.9", default-features = false } linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [ "generate", ] } -criterion = "0.5" +criterion = "0.7" serde_json = "1" approx = "0.5" lax = "0.17.0" diff --git a/algorithms/linfa-ftrl/Cargo.toml b/algorithms/linfa-ftrl/Cargo.toml index 1e3845c87..98d759a14 100644 --- a/algorithms/linfa-ftrl/Cargo.toml +++ b/algorithms/linfa-ftrl/Cargo.toml @@ -35,7 +35,7 @@ rand_xoshiro = "0.6.0" linfa = { version = "0.8.0", path = "../.." } [dev-dependencies] -criterion = "0.5" +criterion = "0.7" approx = "0.5" linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [ "winequality", diff --git a/algorithms/linfa-ica/Cargo.toml b/algorithms/linfa-ica/Cargo.toml index f6ac6685a..88e5eecdb 100644 --- a/algorithms/linfa-ica/Cargo.toml +++ b/algorithms/linfa-ica/Cargo.toml @@ -39,7 +39,7 @@ linfa = { version = "0.8.0", path = "../.." } [dev-dependencies] ndarray-npy = { version = "0.9", default-features = false } paste = "1.0" -criterion = "0.5" +criterion = "0.7" linfa = { version = "0.8.0", path = "../..", features = ["benchmarks"] } [[bench]] diff --git a/algorithms/linfa-linear/Cargo.toml b/algorithms/linfa-linear/Cargo.toml index 08b2b435e..36bd65495 100644 --- a/algorithms/linfa-linear/Cargo.toml +++ b/algorithms/linfa-linear/Cargo.toml @@ -44,7 +44,7 @@ linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [ "diabetes", ] } approx = "0.5" -criterion = "0.5" +criterion = "0.7" statrs = "0.18" linfa = { version = "0.8.0", path = "../..", features = ["benchmarks"] } diff --git a/algorithms/linfa-nn/Cargo.toml b/algorithms/linfa-nn/Cargo.toml index bbf427882..191d9d8b7 100644 --- a/algorithms/linfa-nn/Cargo.toml +++ b/algorithms/linfa-nn/Cargo.toml @@ -37,7 +37,7 @@ linfa = { version = "0.8.0", path = "../.." } [dev-dependencies] approx = "0.5" -criterion = "0.5" +criterion = "0.7" rand_xoshiro = "0.6" ndarray-rand = "0.15" linfa = { version = "0.8.0", path = "../..", features = ["benchmarks"] } diff --git a/algorithms/linfa-pls/Cargo.toml b/algorithms/linfa-pls/Cargo.toml index 1a6735687..144ade402 100644 --- a/algorithms/linfa-pls/Cargo.toml +++ b/algorithms/linfa-pls/Cargo.toml @@ -42,7 +42,7 @@ linfa-datasets = { version = "0.8.0", path = "../../datasets", features = [ ] } approx = "0.5" rand_xoshiro = "0.6" -criterion = "0.5" +criterion = "0.7" statrs = "0.18" [[bench]] diff --git a/algorithms/linfa-preprocessing/Cargo.toml b/algorithms/linfa-preprocessing/Cargo.toml index 3d21363ff..972cef008 100644 --- a/algorithms/linfa-preprocessing/Cargo.toml +++ b/algorithms/linfa-preprocessing/Cargo.toml @@ -53,7 +53,7 @@ curl = "0.4.35" flate2 = "1.0.20" tar = "0.4.33" linfa = { version = "0.8.0", path = "../..", features = ["benchmarks"] } -criterion = "0.5" +criterion = "0.7" statrs = "0.18" # FIXME: Disabled as dataset link is broken diff --git a/algorithms/linfa-trees/Cargo.toml b/algorithms/linfa-trees/Cargo.toml index b2cf64e1c..fe0b8fd4b 100644 --- a/algorithms/linfa-trees/Cargo.toml +++ b/algorithms/linfa-trees/Cargo.toml @@ -31,7 +31,7 @@ linfa = { version = "0.8.0", path = "../.." } [dev-dependencies] rand = { version = "0.8", features = ["small_rng"] } -criterion = "0.5" +criterion = "0.7" approx = "0.5" linfa-datasets = { version = "0.8.0", path = "../../datasets/", features = [ "iris",