Merge pull request #175 from jussisaurio/conditional-disable-rusqlite-bench

Conditionally disable rusqlite benchmark
This commit is contained in:
Jussi Saurio
2024-07-17 11:57:43 +03:00
committed by GitHub

View File

@@ -91,6 +91,12 @@ fn bench(c: &mut Criterion) {
drop(group);
// https://github.com/penberg/limbo/issues/174
// The rusqlite benchmark crashes on Mac M1 when using the flamegraph features
if std::env::var("DISABLE_RUSQLITE_BENCHMARK").is_ok() {
return;
}
let mut group = c.benchmark_group("rusqlite");
group.throughput(Throughput::Elements(1));