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:
Pekka Enberg
2025-02-05 13:33:38 +02:00
parent 44ca85e121
commit 5870c92e9e

View File

@@ -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 {