mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-10 14:37:31 +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:
@@ -18,10 +18,6 @@
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
// to allow benchmarking
|
||||
#![cfg_attr(feature = "bench", feature(test))]
|
||||
#[cfg(feature = "bench")] extern crate test;
|
||||
|
||||
/// Copied from `sr-primitives` and documented there.
|
||||
#[cfg(test)]
|
||||
macro_rules! assert_eq_error_rate {
|
||||
|
||||
Reference in New Issue
Block a user