Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 6c11190

Browse files
authored
update criterion to v0.4.0 (#13142)
1 parent 0100b3b commit 6c11190

File tree

13 files changed

+78
-82
lines changed

13 files changed

+78
-82
lines changed

Cargo.lock

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

bin/node/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ serde_json = "1.0"
122122
regex = "1.6.0"
123123
platforms = "2.0"
124124
soketto = "0.7.1"
125-
criterion = { version = "0.3.5", features = ["async_tokio"] }
125+
criterion = { version = "0.4.0", features = ["async_tokio"] }
126126
tokio = { version = "1.22.0", features = ["macros", "time", "parking_lot"] }
127127
tokio-util = { version = "0.7.4", features = ["compat"] }
128128
wait-timeout = "0.2"

bin/node/executor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sp-tracing = { version = "6.0.0", path = "../../../primitives/tracing" }
2626
sp-trie = { version = "7.0.0", path = "../../../primitives/trie" }
2727

2828
[dev-dependencies]
29-
criterion = "0.3.0"
29+
criterion = "0.4.0"
3030
futures = "0.3.21"
3131
wat = "1.0"
3232
frame-support = { version = "4.0.0-dev", path = "../../../frame/support" }

client/db/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ sp-state-machine = { version = "0.13.0", path = "../../primitives/state-machine"
3636
sp-trie = { version = "7.0.0", path = "../../primitives/trie" }
3737

3838
[dev-dependencies]
39-
criterion = "0.3.3"
39+
criterion = "0.4.0"
4040
kvdb-rocksdb = "0.17.0"
4141
rand = "0.8.5"
4242
tempfile = "3.1.0"

client/executor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sc-tracing = { version = "4.0.0-dev", path = "../tracing" }
4646
tracing-subscriber = "0.2.19"
4747
paste = "1.0"
4848
regex = "1.6.0"
49-
criterion = "0.3"
49+
criterion = "0.4.0"
5050
env_logger = "0.9"
5151
num_cpus = "1.13.1"
5252
tempfile = "3.3.0"

client/tracing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ sp-runtime = { version = "7.0.0", path = "../../primitives/runtime" }
3939
sp-tracing = { version = "6.0.0", path = "../../primitives/tracing" }
4040

4141
[dev-dependencies]
42-
criterion = "0.3"
42+
criterion = "0.4.0"
4343

4444
[[bench]]
4545
name = "bench"

client/transaction-pool/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ sp-transaction-pool = { version = "4.0.0-dev", path = "../../primitives/transact
3737
[dev-dependencies]
3838
array-bytes = "4.1"
3939
assert_matches = "1.3.0"
40-
criterion = "0.3"
40+
criterion = "0.4.0"
4141
sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" }
4242
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
4343
substrate-test-runtime = { version = "2.0.0", path = "../../test-utils/runtime" }

frame/system/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ sp-version = { version = "5.0.0", default-features = false, path = "../../primit
2626
sp-weights = { version = "4.0.0", default-features = false, path = "../../primitives/weights" }
2727

2828
[dev-dependencies]
29-
criterion = "0.3.3"
29+
criterion = "0.4.0"
3030
sp-externalities = { version = "0.13.0", path = "../../primitives/externalities" }
3131
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
3232

primitives/api/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ trybuild = "1.0.74"
2525
rustversion = "1.0.6"
2626

2727
[dev-dependencies]
28-
criterion = "0.3.0"
28+
criterion = "0.4.0"
2929
futures = "0.3.21"
3030
log = "0.4.17"
3131
sp-core = { version = "7.0.0", path = "../../core" }

primitives/arithmetic/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static_assertions = "1.1.0"
2626
sp-std = { version = "5.0.0", default-features = false, path = "../std" }
2727

2828
[dev-dependencies]
29-
criterion = "0.3"
29+
criterion = "0.4.0"
3030
primitive-types = "0.12.0"
3131
sp-core = { version = "7.0.0", features = ["full_crypto"], path = "../core" }
3232
rand = "0.8.5"

0 commit comments

Comments
 (0)