Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 57 additions & 57 deletions datafusion/core/benches/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,62 +163,62 @@ fn criterion_benchmark(c: &mut Criterion) {
"i64",
Box::new(move |sorted| i64_streams(sorted, input_size)),
),
(
"f64",
Box::new(move |sorted| f64_streams(sorted, input_size)),
),
(
"utf8 low cardinality",
Box::new(move |sorted| utf8_low_cardinality_streams(sorted, input_size)),
),
(
"utf8 high cardinality",
Box::new(move |sorted| utf8_high_cardinality_streams(sorted, input_size)),
),
(
"utf8 view low cardinality",
Box::new(move |sorted| {
utf8_view_low_cardinality_streams(sorted, input_size)
}),
),
(
"utf8 view high cardinality",
Box::new(move |sorted| {
utf8_view_high_cardinality_streams(sorted, input_size)
}),
),
(
"utf8 tuple",
Box::new(move |sorted| utf8_tuple_streams(sorted, input_size)),
),
(
"utf8 view tuple",
Box::new(move |sorted| utf8_view_tuple_streams(sorted, input_size)),
),
(
"utf8 dictionary",
Box::new(move |sorted| dictionary_streams(sorted, input_size)),
),
(
"utf8 dictionary tuple",
Box::new(move |sorted| dictionary_tuple_streams(sorted, input_size)),
),
(
"mixed dictionary tuple",
Box::new(move |sorted| {
mixed_dictionary_tuple_streams(sorted, input_size)
}),
),
(
"mixed tuple",
Box::new(move |sorted| mixed_tuple_streams(sorted, input_size)),
),
(
"mixed tuple with utf8 view",
Box::new(move |sorted| {
mixed_tuple_with_utf8_view_streams(sorted, input_size)
}),
),
// (
// "f64",
// Box::new(move |sorted| f64_streams(sorted, input_size)),
// ),
// (
// "utf8 low cardinality",
// Box::new(move |sorted| utf8_low_cardinality_streams(sorted, input_size)),
// ),
// (
// "utf8 high cardinality",
// Box::new(move |sorted| utf8_high_cardinality_streams(sorted, input_size)),
// ),
// (
// "utf8 view low cardinality",
// Box::new(move |sorted| {
// utf8_view_low_cardinality_streams(sorted, input_size)
// }),
// ),
// (
// "utf8 view high cardinality",
// Box::new(move |sorted| {
// utf8_view_high_cardinality_streams(sorted, input_size)
// }),
// ),
// (
// "utf8 tuple",
// Box::new(move |sorted| utf8_tuple_streams(sorted, input_size)),
// ),
// (
// "utf8 view tuple",
// Box::new(move |sorted| utf8_view_tuple_streams(sorted, input_size)),
// ),
// (
// "utf8 dictionary",
// Box::new(move |sorted| dictionary_streams(sorted, input_size)),
// ),
// (
// "utf8 dictionary tuple",
// Box::new(move |sorted| dictionary_tuple_streams(sorted, input_size)),
// ),
// (
// "mixed dictionary tuple",
// Box::new(move |sorted| {
// mixed_dictionary_tuple_streams(sorted, input_size)
// }),
// ),
// (
// "mixed tuple",
// Box::new(move |sorted| mixed_tuple_streams(sorted, input_size)),
// ),
// (
// "mixed tuple with utf8 view",
// Box::new(move |sorted| {
// mixed_tuple_with_utf8_view_streams(sorted, input_size)
// }),
// ),
];

for (name, f) in &cases {
Expand Down Expand Up @@ -989,5 +989,5 @@ fn with_extra_columns(batches: PartitionedBatches, n: usize) -> PartitionedBatch
.collect()
}

criterion_group!(benches, criterion_benchmark, sort_axis_benchmark);
criterion_group!(benches, criterion_benchmark);
criterion_main!(benches);
Loading