From 713ed12b501fae7a11d71fb8cc4f4a1285082aec Mon Sep 17 00:00:00 2001 From: Thomas Krause Date: Mon, 2 Sep 2024 16:26:58 +0200 Subject: [PATCH] Actually use the on disk representation in benchmark --- graphannis/benches/graphannis.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphannis/benches/graphannis.rs b/graphannis/benches/graphannis.rs index 2a8504b52..1e474bf24 100644 --- a/graphannis/benches/graphannis.rs +++ b/graphannis/benches/graphannis.rs @@ -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(|| {