Skip to content

Commit 8214b78

Browse files
authored
Fewer benches (#1303)
1 parent 34459fb commit 8214b78

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

bench-vortex/benches/tpch.rs

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ fn benchmark(c: &mut Criterion) {
1313
// Run TPC-H data gen.
1414
let data_dir = DBGen::new(DBGenOptions::default()).generate().unwrap();
1515

16-
let vortex_no_pushdown_ctx = runtime
17-
.block_on(load_datasets(
18-
&data_dir,
19-
Format::InMemoryVortex {
20-
enable_pushdown: false,
21-
},
22-
))
23-
.unwrap();
2416
let vortex_ctx = runtime
2517
.block_on(load_datasets(
2618
&data_dir,
@@ -43,33 +35,11 @@ fn benchmark(c: &mut Criterion) {
4335
},
4436
))
4537
.unwrap();
46-
let vortex_uncompressed_ctx = runtime
47-
.block_on(load_datasets(
48-
&data_dir,
49-
Format::OnDiskVortex {
50-
enable_compression: false,
51-
},
52-
))
53-
.unwrap();
5438

5539
for (q, sql_queries) in tpch_queries() {
5640
let mut group = c.benchmark_group(format!("tpch_q{q}"));
5741
group.sample_size(10);
5842

59-
group.bench_function("vortex-in-memory-no-pushdown", |b| {
60-
b.to_async(&runtime).iter(|| async {
61-
run_tpch_query(
62-
&vortex_no_pushdown_ctx,
63-
&sql_queries,
64-
q,
65-
Format::InMemoryVortex {
66-
enable_pushdown: false,
67-
},
68-
)
69-
.await;
70-
})
71-
});
72-
7343
group.bench_function("vortex-in-memory-pushdown", |b| {
7444
b.to_async(&runtime).iter(|| async {
7545
run_tpch_query(
@@ -109,20 +79,6 @@ fn benchmark(c: &mut Criterion) {
10979
.await;
11080
})
11181
});
112-
113-
group.bench_function("vortex-file-uncompressed", |b| {
114-
b.to_async(&runtime).iter(|| async {
115-
run_tpch_query(
116-
&vortex_uncompressed_ctx,
117-
&sql_queries,
118-
q,
119-
Format::OnDiskVortex {
120-
enable_compression: false,
121-
},
122-
)
123-
.await;
124-
})
125-
});
12682
}
12783
}
12884

0 commit comments

Comments
 (0)