update criterion to v0.4.0 (#13142)

This commit is contained in:
Qinxuan Chen authored and GitHub committed 2023-01-28 19:43:32 +00:00
1 parent 1aaea41155
commit b77a1a67eb
13 files changed
+78 -82

No files matched your search

+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},