Skip to content

Commit

Permalink
fix: frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
Kermit committed Sep 20, 2024
1 parent 66e7db5 commit 2546be4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions benches/benches_against_rocksdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ fn bench<D: Database>(c: &mut Criterion, name: &str, build_db: impl Fn(&TempDir)
c.bench_function(
&format!("{} sequentially populate small value", name),
|b| {
println!("begin sequentially populate small value!!");
let dir = tempfile::Builder::new()
.prefix(&format!("{}-bench-seq-populate-small-value", name))
.tempdir()
Expand Down Expand Up @@ -261,7 +260,7 @@ fn pair_test(c: &mut Criterion) {
fn build_criterion_config() -> Criterion {
Criterion::default()
.sample_size(SAMPLE_SIZE)
.with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)))
.with_profiler(PProfProfiler::new(10, Output::Flamegraph(None)))
}

criterion_group! {
Expand Down

0 comments on commit 2546be4

Please sign in to comment.