Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Remove pprof dev-dep
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Dec 5, 2021
1 parent 7e5d73c commit 52be4d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ multiversion = { version = "0.6.1", optional = true }

[dev-dependencies]
criterion = "0.3"
criterion-macro = "0.3"
pprof = { version = "0.6.1", features = ["flamegraph", "criterion"] }
flate2 = "1"
doc-comment = "0.3"
crossbeam-channel = "0.5.1"
Expand Down
7 changes: 1 addition & 6 deletions benches/cast_kernels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
// under the License.

use criterion::{criterion_group, criterion_main, Criterion};
use pprof::criterion::{Output, PProfProfiler};
use rand::distributions::Uniform;
use rand::Rng;

Expand Down Expand Up @@ -178,9 +177,5 @@ fn add_benchmark(c: &mut Criterion) {
});
}

criterion_group! {
name = benches;
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
targets = add_benchmark
}
criterion_group!(benches, add_benchmark);
criterion_main!(benches);

0 comments on commit 52be4d7

Please sign in to comment.