Skip to content

Commit

Permalink
chore: fix benches
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Oct 2, 2024
1 parent b41c5ad commit e83b7fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion benches/addr_validate.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.

use criterion::{criterion_group, criterion_main, Criterion};
use pprof::validate;
use pprof2::validate;

fn bench_validate_addr(c: &mut Criterion) {
c.bench_function("validate stack addr", |b| {
Expand Down
2 changes: 1 addition & 1 deletion benches/collector.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.

use criterion::{criterion_group, criterion_main, Criterion};
use pprof::{Collector, HashCounter};
use pprof2::{Collector, HashCounter};

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

0 comments on commit e83b7fb

Please sign in to comment.