remove unused deps (#2264)

found with cargo machete
remove pprof (doesn't work)
This commit is contained in:
PSeitz
2023-11-20 02:59:59 +01:00
committed by GitHub
parent 0aae31d7d7
commit 47009ed2d3
4 changed files with 2 additions and 9 deletions

View File

@@ -1,5 +1,4 @@
use criterion::{criterion_group, criterion_main, Criterion, Throughput};
use pprof::criterion::{Output, PProfProfiler};
use tantivy::schema::{TantivyDocument, FAST, INDEXED, STORED, STRING, TEXT};
use tantivy::{tokenizer, Index, IndexWriter};
@@ -253,12 +252,12 @@ criterion_group! {
}
criterion_group! {
name = gh_benches;
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
config = Criterion::default();
targets = gh_index_benchmark
}
criterion_group! {
name = wiki_benches;
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
config = Criterion::default();
targets = wiki_index_benchmark
}
criterion_main!(benches, gh_benches, wiki_benches);