Skip to content

Commit

Permalink
Actually use the on disk representation in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Sep 2, 2024
1 parent 925ddbe commit 713ed12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphannis/benches/graphannis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ fn apply_update_ondisk(bench: &mut Criterion) {
let cs = CORPUS_STORAGE.as_ref().unwrap();

bench.bench_function("apply_update_ondisk", move |b| {
cs.create_empty_corpus("apply_update_test_corpus", false)
cs.create_empty_corpus("apply_update_test_corpus", true)
.unwrap();
let (mut u1, mut u2) = create_example_update();
b.iter(|| {
Expand Down

0 comments on commit 713ed12

Please sign in to comment.