mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-09 19:24:21 +01:00
core/mvcc: Fix MVCC benchmark SIGKILL
The `begin_tx` benchmark makes no sense because it just fills up memory with transaction metadata, eventually killing the process...
This commit is contained in:
@@ -14,13 +14,6 @@ fn bench(c: &mut Criterion) {
|
||||
let mut group = c.benchmark_group("mvcc-ops-throughput");
|
||||
group.throughput(Throughput::Elements(1));
|
||||
|
||||
let db = bench_db();
|
||||
group.bench_function("begin_tx", |b| {
|
||||
b.to_async(FuturesExecutor).iter(|| async {
|
||||
db.begin_tx();
|
||||
})
|
||||
});
|
||||
|
||||
let db = bench_db();
|
||||
group.bench_function("begin_tx + rollback_tx", |b| {
|
||||
b.to_async(FuturesExecutor).iter(|| async {
|
||||
|
||||
Reference in New Issue
Block a user