diff --git a/core/benches/benchmark.rs b/core/benches/benchmark.rs index 100e47536..587a972cc 100644 --- a/core/benches/benchmark.rs +++ b/core/benches/benchmark.rs @@ -545,6 +545,12 @@ fn bench_insert_rows(criterion: &mut Criterion) { let temp_dir = tempfile::tempdir().unwrap(); let db_path = temp_dir.path().join("bench.db"); let sqlite_conn = rusqlite::Connection::open(db_path).unwrap(); + sqlite_conn + .pragma_update(None, "journal_mode", "WAL") + .unwrap(); + sqlite_conn + .pragma_update(None, "locking_mode", "EXCLUSIVE") + .unwrap(); // Create test table sqlite_conn