mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-04 08:54:20 +01:00
Conditionally disable rusqlite benchmark
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user