mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-07 10:14:21 +01:00
Fix benchmark compilation
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
use criterion::{criterion_group, criterion_main, Criterion, Throughput};
|
||||
use lig_core::{Database, SyncIO};
|
||||
use lig_core::{Database, IO};
|
||||
use pprof::criterion::{Output, PProfProfiler};
|
||||
use std::sync::Arc;
|
||||
|
||||
fn bench_db() -> Database {
|
||||
let io = SyncIO::new();
|
||||
Database::open(Arc::new(io), "../testing/hello.db").unwrap()
|
||||
let io = IO::default();
|
||||
Database::open(io, "../testing/hello.db").unwrap()
|
||||
}
|
||||
|
||||
fn bench(c: &mut Criterion) {
|
||||
|
||||
Reference in New Issue
Block a user