Skip to content

Commit e83b7fb

Browse files
committed
chore: fix benches
1 parent b41c5ad commit e83b7fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

benches/addr_validate.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
22

33
use criterion::{criterion_group, criterion_main, Criterion};
4-
use pprof::validate;
4+
use pprof2::validate;
55

66
fn bench_validate_addr(c: &mut Criterion) {
77
c.bench_function("validate stack addr", |b| {

benches/collector.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
22

33
use criterion::{criterion_group, criterion_main, Criterion};
4-
use pprof::{Collector, HashCounter};
4+
use pprof2::{Collector, HashCounter};
55

66
fn bench_write_to_collector(c: &mut Criterion) {
77
c.bench_function("write_to_collector", |b| {

0 commit comments

Comments
 (0)