update criterion to v0.4.0 (#13142)

This commit is contained in:
Qinxuan Chen
2023-01-29 03:43:32 +08:00
committed by GitHub
parent 1aaea41155
commit b77a1a67eb
13 changed files with 78 additions and 82 deletions
+1 -4
View File
@@ -12,10 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#[macro_use]
extern crate criterion;
use criterion::{black_box, Bencher, BenchmarkId, Criterion};
use criterion::{black_box, criterion_group, criterion_main, Bencher, BenchmarkId, Criterion};
use sp_core::{
crypto::Pair as _,
hashing::{blake2_128, twox_128},