File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
bench-vortex/src/datasets Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ pub enum BenchmarkDataset {
3939}
4040
4141impl BenchmarkDataset {
42- pub fn name ( & self ) -> String {
42+ pub fn name ( & self ) -> & str {
4343 match self {
44- BenchmarkDataset :: TpcH { scale_factor } => format ! ( "tpch_sf{scale_factor}" ) ,
45- BenchmarkDataset :: TpcDS { scale_factor } => format ! ( "tpcds_sf{scale_factor}" ) ,
46- BenchmarkDataset :: ClickBench { .. } => "clickbench" . to_string ( ) ,
47- BenchmarkDataset :: PublicBi { .. } => "public-bi" . to_string ( ) ,
44+ BenchmarkDataset :: TpcH { .. } => "tpch" ,
45+ BenchmarkDataset :: TpcDS { .. } => "tpcds" ,
46+ BenchmarkDataset :: ClickBench { .. } => "clickbench" ,
47+ BenchmarkDataset :: PublicBi { .. } => "public-bi" ,
4848 }
4949 }
5050}
Original file line number Diff line number Diff line change 1616base = pd .read_json (sys .argv [1 ], lines = True )
1717pr = pd .read_json (sys .argv [2 ], lines = True )
1818
19- # Filter duplicate entries which can result from nightly
20- # runs if the commit is identical to the base commit of the PR.
21- base = base .drop_duplicates (subset = ["name" , "storage" ], keep = "last" )
22-
2319base_commit_id = set (base ["commit_id" ].unique ())
2420pr_commit_id = set (pr ["commit_id" ].unique ())
2521
You can’t perform that action at this time.
0 commit comments