mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-21 05:11:02 +00:00
Switch sr-arithmetic benchmarking to criterion (#3902)
* Change DefaultMaxDepth from 1024 to 32 * Switch sr-arithmetic benchmarking to criterion * Update core/sr-arithmetic/Cargo.toml Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update core/sr-arithmetic/benches/bench.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Test on variable limb lengths * Change license * Rework division
This commit is contained in:
@@ -15,9 +15,9 @@ substrate-debug-derive = { path = "../primitives/debug-derive", default-features
|
||||
[dev-dependencies]
|
||||
primitive-types = "0.6.0"
|
||||
rand = "0.7.2"
|
||||
criterion = "0.3"
|
||||
|
||||
[features]
|
||||
bench = []
|
||||
default = ["std"]
|
||||
std = [
|
||||
"codec/std",
|
||||
@@ -26,3 +26,7 @@ std = [
|
||||
"serde",
|
||||
"substrate-debug-derive/std",
|
||||
]
|
||||
|
||||
[[bench]]
|
||||
name = "bench"
|
||||
harness = false
|
||||
|
||||
Reference in New Issue
Block a user