Skip to content

Commit d59b83d

Browse files
perf: Improve MATCH_RECOGNIZE performance
1 parent b4980f5 commit d59b83d

File tree

29 files changed

+3477
-1255
lines changed

29 files changed

+3477
-1255
lines changed

benchmarks/src/bin/dfbench.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ static ALLOC: snmalloc_rs::SnMalloc = snmalloc_rs::SnMalloc;
3333
#[global_allocator]
3434
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
3535

36-
use datafusion_benchmarks::{cancellation, clickbench, h2o, imdb, sort_tpch, tpch};
36+
use datafusion_benchmarks::{
37+
cancellation, clickbench, h2o, imdb, match_recognize_tpch, sort_tpch, tpch,
38+
window_tpch,
39+
};
3740

3841
#[derive(Debug, StructOpt)]
3942
#[structopt(about = "benchmark command")]
@@ -43,6 +46,8 @@ enum Options {
4346
H2o(h2o::RunOpt),
4447
Imdb(imdb::RunOpt),
4548
SortTpch(sort_tpch::RunOpt),
49+
WindowTpch(window_tpch::RunOpt),
50+
MatchRecognizeTpch(match_recognize_tpch::RunOpt),
4651
Tpch(tpch::RunOpt),
4752
TpchConvert(tpch::ConvertOpt),
4853
}
@@ -58,6 +63,8 @@ pub async fn main() -> Result<()> {
5863
Options::H2o(opt) => opt.run().await,
5964
Options::Imdb(opt) => Box::pin(opt.run()).await,
6065
Options::SortTpch(opt) => opt.run().await,
66+
Options::WindowTpch(opt) => opt.run().await,
67+
Options::MatchRecognizeTpch(opt) => opt.run().await,
6168
Options::Tpch(opt) => Box::pin(opt.run()).await,
6269
Options::TpchConvert(opt) => opt.run().await,
6370
}

benchmarks/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ pub mod cancellation;
2020
pub mod clickbench;
2121
pub mod h2o;
2222
pub mod imdb;
23+
pub mod match_recognize_tpch;
2324
pub mod sort_tpch;
2425
pub mod tpch;
2526
pub mod util;
27+
pub mod window_tpch;

0 commit comments

Comments
 (0)