Skip to content

Perf: Short circuit expensive comparissions in GroupColumn #23344

Open
Rich-T-kid wants to merge 3 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/short-circuit-groupColumn
Open

Perf: Short circuit expensive comparissions in GroupColumn #23344
Rich-T-kid wants to merge 3 commits into
apache:mainfrom
Rich-T-kid:rich-T-kid/short-circuit-groupColumn

Conversation

@Rich-T-kid

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

see #23342

Note : the exact ranking here is a bit arbitrary & i'm happy to change it. The core idea is that its much cheaper to do boolean checks and fixed size byte comparisons as opposed to chasing pointers to comparing strings.
an alternative approach may be to split this into two tiers:

  1. ints/bools/floats/
  2. bytes data

What changes are included in this PR?

  • Add compare_tier() to rank each supported DataType by comparison cost (1 = cheap fixed-width integers → 5 = expensive variable-length bytes)
  • Add compare_order: Vec to GroupValuesColumn, built once at construction via build_group_compare_order(), so vectorized_equal_to evaluates columns cheapest-first and maximizes early-exit savings before reaching expensive string comparisons

Are these changes tested?

This PR only change the order in which comparisons occurs. functionally nothing changes.

Are there any user-facing changes?

no

@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Jul 6, 2026
@Rich-T-kid Rich-T-kid changed the title initial draft Short circuit expensive comparissions in GroupColumn Jul 6, 2026
@Rich-T-kid

Rich-T-kid commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

cc @zhuqi-lucas as this is related to #22715
Could a maintainer run the benchmarks?

/// Used to order columns in [`GroupValuesColumn::compare_order`] so cheap comparisons
/// eliminate rows before expensive ones are evaluated.
/// see <https://github.com/apache/datafusion/issues/23342>
fn compare_tier(data_type: &DataType) -> u8 {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this belong to a common place as this can be used across other operators like HashJoins

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose 🤔 , is there a specific case where you think this would be useful for hashJoins?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When JoinKeyComparator finds groups matching groups per row similarly, correct me if I am wrong. Here the compare method can also use this optimized ordering right ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im honestly not too familiar with the join operator logic. but presumably the same concepts should apply there. Ideally i'd like to move forward with #23342. but I can make a follow up ticket to move this into a higher modules for code re-use

@Rich-T-kid Rich-T-kid changed the title Short circuit expensive comparissions in GroupColumn Perf: Short circuit expensive comparissions in GroupColumn Jul 6, 2026
@zhuqi-lucas

Copy link
Copy Markdown
Contributor

run benchmarks

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4899576880-887-tqzbh 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

Comparing rich-T-kid/short-circuit-groupColumn (bf08818) to 0365d3c (merge-base) diff using: tpcds
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4899576880-888-vbwn2 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

Comparing rich-T-kid/short-circuit-groupColumn (bf08818) to 0365d3c (merge-base) diff using: tpch
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4899576880-886-d2f22 6.12.85+ #1 SMP Mon May 11 08:17:35 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

Comparing rich-T-kid/short-circuit-groupColumn (bf08818) to 0365d3c (merge-base) diff using: clickbench_partitioned
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Details

Comparing HEAD and rich-T-kid_short-circuit-groupColumn
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ rich-T-kid_short-circuit-groupColumn ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │ 38.42 / 41.08 ±2.26 / 44.80 ms │       38.53 / 39.66 ±1.53 / 42.68 ms │    no change │
│ QQuery 2  │ 19.69 / 20.21 ±0.51 / 21.17 ms │       19.36 / 19.86 ±0.59 / 21.00 ms │    no change │
│ QQuery 3  │ 31.52 / 32.36 ±0.95 / 34.10 ms │       31.32 / 34.16 ±1.82 / 37.06 ms │ 1.06x slower │
│ QQuery 4  │ 17.66 / 18.02 ±0.32 / 18.57 ms │       17.82 / 17.97 ±0.08 / 18.06 ms │    no change │
│ QQuery 5  │ 39.13 / 40.99 ±1.30 / 42.50 ms │       39.20 / 40.77 ±1.09 / 41.97 ms │    no change │
│ QQuery 6  │ 16.40 / 16.59 ±0.18 / 16.81 ms │       16.27 / 17.02 ±0.95 / 18.79 ms │    no change │
│ QQuery 7  │ 43.75 / 46.78 ±2.95 / 52.40 ms │       45.21 / 46.38 ±1.14 / 47.81 ms │    no change │
│ QQuery 8  │ 43.68 / 43.95 ±0.16 / 44.17 ms │       43.87 / 44.34 ±0.68 / 45.69 ms │    no change │
│ QQuery 9  │ 50.25 / 51.21 ±0.91 / 52.75 ms │       49.50 / 51.20 ±1.23 / 53.25 ms │    no change │
│ QQuery 10 │ 42.66 / 43.29 ±0.45 / 44.05 ms │       42.58 / 43.50 ±1.18 / 45.82 ms │    no change │
│ QQuery 11 │ 13.62 / 14.55 ±1.05 / 16.38 ms │       13.67 / 13.88 ±0.13 / 14.01 ms │    no change │
│ QQuery 12 │ 23.96 / 24.44 ±0.29 / 24.78 ms │       24.18 / 24.52 ±0.24 / 24.89 ms │    no change │
│ QQuery 13 │ 34.34 / 34.84 ±0.69 / 36.19 ms │       32.61 / 34.57 ±1.15 / 35.68 ms │    no change │
│ QQuery 14 │ 24.23 / 25.12 ±1.08 / 27.19 ms │       24.27 / 24.38 ±0.11 / 24.57 ms │    no change │
│ QQuery 15 │ 31.33 / 32.27 ±0.78 / 33.60 ms │       31.64 / 32.09 ±0.40 / 32.75 ms │    no change │
│ QQuery 16 │ 14.06 / 14.33 ±0.15 / 14.47 ms │       14.20 / 14.29 ±0.08 / 14.41 ms │    no change │
│ QQuery 17 │ 74.45 / 76.67 ±2.26 / 79.76 ms │       75.65 / 77.27 ±0.98 / 78.52 ms │    no change │
│ QQuery 18 │ 57.76 / 60.33 ±1.52 / 61.65 ms │       59.31 / 62.39 ±2.37 / 65.97 ms │    no change │
│ QQuery 19 │ 33.15 / 33.94 ±0.83 / 35.42 ms │       33.27 / 33.65 ±0.51 / 34.65 ms │    no change │
│ QQuery 20 │ 32.21 / 32.55 ±0.25 / 32.94 ms │       32.54 / 32.68 ±0.11 / 32.86 ms │    no change │
│ QQuery 21 │ 55.82 / 58.39 ±1.64 / 60.30 ms │       56.27 / 57.64 ±1.14 / 59.15 ms │    no change │
│ QQuery 22 │ 14.29 / 14.48 ±0.13 / 14.60 ms │       13.79 / 14.26 ±0.33 / 14.75 ms │    no change │
└───────────┴────────────────────────────────┴──────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                   ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                   │ 776.40ms │
│ Total Time (rich-T-kid_short-circuit-groupColumn)   │ 776.47ms │
│ Average Time (HEAD)                                 │  35.29ms │
│ Average Time (rich-T-kid_short-circuit-groupColumn) │  35.29ms │
│ Queries Faster                                      │        0 │
│ Queries Slower                                      │        1 │
│ Queries with No Change                              │       21 │
│ Queries with Failure                                │        0 │
└─────────────────────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 530.0 MiB
CPU user 22.5s
CPU sys 1.7s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.1 GiB
Avg memory 503.1 MiB
CPU user 22.5s
CPU sys 1.8s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Details

Comparing HEAD and rich-T-kid_short-circuit-groupColumn
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃  rich-T-kid_short-circuit-groupColumn ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │           6.00 / 6.50 ±0.79 / 8.07 ms │           6.00 / 6.44 ±0.77 / 7.98 ms │    no change │
│ QQuery 2  │        81.93 / 82.36 ±0.30 / 82.78 ms │        82.50 / 82.78 ±0.24 / 83.04 ms │    no change │
│ QQuery 3  │        29.85 / 30.28 ±0.23 / 30.49 ms │        29.77 / 30.16 ±0.21 / 30.37 ms │    no change │
│ QQuery 4  │     522.76 / 530.70 ±4.84 / 537.62 ms │     522.96 / 527.52 ±3.19 / 531.63 ms │    no change │
│ QQuery 5  │        52.66 / 53.20 ±0.29 / 53.47 ms │        52.53 / 53.01 ±0.62 / 54.22 ms │    no change │
│ QQuery 6  │        37.90 / 38.47 ±0.40 / 38.95 ms │        37.91 / 38.21 ±0.34 / 38.87 ms │    no change │
│ QQuery 7  │       95.82 / 98.15 ±3.61 / 105.34 ms │       96.29 / 97.57 ±1.77 / 101.07 ms │    no change │
│ QQuery 8  │        37.37 / 37.61 ±0.27 / 38.12 ms │        38.12 / 38.49 ±0.51 / 39.50 ms │    no change │
│ QQuery 9  │        52.63 / 54.66 ±1.12 / 55.77 ms │        52.99 / 55.56 ±1.59 / 57.66 ms │    no change │
│ QQuery 10 │        63.47 / 63.86 ±0.37 / 64.46 ms │        63.79 / 64.52 ±0.47 / 65.26 ms │    no change │
│ QQuery 11 │     325.54 / 329.07 ±2.43 / 332.80 ms │     327.90 / 332.61 ±3.86 / 337.69 ms │    no change │
│ QQuery 12 │        29.71 / 29.85 ±0.11 / 30.02 ms │        29.79 / 30.17 ±0.31 / 30.73 ms │    no change │
│ QQuery 13 │     119.63 / 122.58 ±5.42 / 133.41 ms │     120.22 / 121.75 ±1.36 / 123.72 ms │    no change │
│ QQuery 14 │     423.68 / 427.59 ±4.54 / 435.66 ms │     422.71 / 428.18 ±4.38 / 432.40 ms │    no change │
│ QQuery 15 │        60.38 / 61.47 ±0.93 / 62.98 ms │        62.09 / 63.45 ±0.74 / 64.26 ms │    no change │
│ QQuery 16 │           7.25 / 7.32 ±0.09 / 7.49 ms │           7.03 / 7.24 ±0.13 / 7.40 ms │    no change │
│ QQuery 17 │       82.47 / 86.58 ±7.09 / 100.74 ms │        82.58 / 84.66 ±2.85 / 90.18 ms │    no change │
│ QQuery 18 │     125.96 / 127.03 ±0.89 / 128.07 ms │     126.68 / 128.39 ±1.53 / 130.84 ms │    no change │
│ QQuery 19 │        42.15 / 43.65 ±1.50 / 46.32 ms │        42.32 / 43.61 ±1.17 / 45.40 ms │    no change │
│ QQuery 20 │        37.44 / 37.74 ±0.23 / 37.97 ms │        37.51 / 37.93 ±0.32 / 38.41 ms │    no change │
│ QQuery 21 │        18.08 / 18.33 ±0.21 / 18.72 ms │        18.24 / 18.45 ±0.30 / 19.05 ms │    no change │
│ QQuery 22 │        64.71 / 65.84 ±0.80 / 66.70 ms │        64.57 / 66.05 ±0.85 / 67.03 ms │    no change │
│ QQuery 23 │     356.78 / 364.18 ±5.39 / 371.01 ms │    364.95 / 378.58 ±18.84 / 415.79 ms │    no change │
│ QQuery 24 │     229.87 / 235.57 ±7.09 / 249.12 ms │     229.94 / 235.07 ±5.98 / 246.41 ms │    no change │
│ QQuery 25 │     114.04 / 116.43 ±2.42 / 119.91 ms │     113.93 / 117.86 ±5.34 / 128.43 ms │    no change │
│ QQuery 26 │        59.19 / 59.52 ±0.35 / 60.07 ms │        59.04 / 59.33 ±0.17 / 59.55 ms │    no change │
│ QQuery 27 │           6.76 / 6.83 ±0.08 / 6.99 ms │           6.67 / 6.82 ±0.09 / 6.97 ms │    no change │
│ QQuery 28 │        58.92 / 62.08 ±1.61 / 63.35 ms │        57.85 / 59.68 ±1.77 / 62.39 ms │    no change │
│ QQuery 29 │      99.92 / 101.19 ±1.29 / 103.58 ms │      99.16 / 103.96 ±6.08 / 115.02 ms │    no change │
│ QQuery 30 │        33.20 / 33.64 ±0.27 / 33.89 ms │        33.61 / 34.36 ±0.49 / 34.85 ms │    no change │
│ QQuery 31 │     113.99 / 116.71 ±4.44 / 125.52 ms │     113.47 / 116.41 ±3.69 / 123.57 ms │    no change │
│ QQuery 32 │        21.69 / 21.97 ±0.22 / 22.26 ms │        21.59 / 21.74 ±0.13 / 21.98 ms │    no change │
│ QQuery 33 │        38.68 / 39.23 ±0.39 / 39.75 ms │        38.63 / 39.19 ±0.38 / 39.58 ms │    no change │
│ QQuery 34 │        10.27 / 10.43 ±0.11 / 10.61 ms │        10.20 / 10.31 ±0.13 / 10.52 ms │    no change │
│ QQuery 35 │        75.43 / 76.28 ±0.69 / 77.30 ms │        74.08 / 74.85 ±0.72 / 76.07 ms │    no change │
│ QQuery 36 │           6.01 / 6.25 ±0.15 / 6.50 ms │           6.12 / 6.24 ±0.14 / 6.51 ms │    no change │
│ QQuery 37 │          7.31 / 8.04 ±1.08 / 10.19 ms │          7.29 / 8.82 ±2.45 / 13.70 ms │ 1.10x slower │
│ QQuery 38 │        65.33 / 66.81 ±1.19 / 68.39 ms │        65.26 / 67.03 ±1.39 / 69.54 ms │    no change │
│ QQuery 39 │        92.89 / 93.75 ±0.97 / 95.31 ms │        93.71 / 94.29 ±0.71 / 95.65 ms │    no change │
│ QQuery 40 │        24.09 / 24.57 ±0.28 / 24.91 ms │        24.09 / 24.40 ±0.25 / 24.77 ms │    no change │
│ QQuery 41 │        12.24 / 12.40 ±0.12 / 12.58 ms │        11.93 / 12.63 ±1.08 / 14.76 ms │    no change │
│ QQuery 42 │        24.41 / 24.75 ±0.28 / 25.17 ms │        24.35 / 25.07 ±0.77 / 26.50 ms │    no change │
│ QQuery 43 │           5.15 / 5.36 ±0.12 / 5.50 ms │           4.95 / 5.09 ±0.13 / 5.33 ms │    no change │
│ QQuery 44 │         9.93 / 10.12 ±0.12 / 10.28 ms │          9.74 / 9.90 ±0.13 / 10.09 ms │    no change │
│ QQuery 45 │        41.71 / 42.93 ±0.75 / 43.89 ms │        41.82 / 43.20 ±1.14 / 44.99 ms │    no change │
│ QQuery 46 │        12.33 / 12.68 ±0.25 / 12.97 ms │        12.19 / 12.32 ±0.16 / 12.62 ms │    no change │
│ QQuery 47 │     249.45 / 253.14 ±2.09 / 255.79 ms │     243.42 / 251.35 ±5.34 / 258.97 ms │    no change │
│ QQuery 48 │       97.58 / 98.59 ±1.44 / 101.41 ms │       97.63 / 99.27 ±1.56 / 101.97 ms │    no change │
│ QQuery 49 │        78.50 / 78.96 ±0.60 / 80.13 ms │        78.28 / 78.86 ±0.40 / 79.53 ms │    no change │
│ QQuery 50 │        59.96 / 60.32 ±0.30 / 60.68 ms │        60.11 / 60.92 ±0.83 / 62.46 ms │    no change │
│ QQuery 51 │        91.94 / 95.46 ±2.61 / 99.96 ms │        94.79 / 96.78 ±1.11 / 97.85 ms │    no change │
│ QQuery 52 │        24.56 / 24.70 ±0.10 / 24.86 ms │        24.33 / 24.74 ±0.26 / 24.99 ms │    no change │
│ QQuery 53 │        30.29 / 30.39 ±0.09 / 30.54 ms │        30.33 / 30.73 ±0.23 / 30.94 ms │    no change │
│ QQuery 54 │        56.83 / 57.07 ±0.17 / 57.36 ms │        56.93 / 57.51 ±0.83 / 59.15 ms │    no change │
│ QQuery 55 │        24.01 / 24.85 ±1.29 / 27.39 ms │        24.02 / 24.95 ±1.10 / 27.11 ms │    no change │
│ QQuery 56 │        39.83 / 42.05 ±2.63 / 47.06 ms │        40.17 / 40.89 ±0.85 / 42.41 ms │    no change │
│ QQuery 57 │     178.04 / 182.37 ±2.91 / 187.03 ms │     181.54 / 182.65 ±1.07 / 184.00 ms │    no change │
│ QQuery 58 │     117.29 / 119.42 ±1.74 / 121.96 ms │     118.64 / 120.33 ±1.49 / 123.12 ms │    no change │
│ QQuery 59 │     119.34 / 120.60 ±0.85 / 121.74 ms │     119.89 / 121.13 ±0.72 / 121.90 ms │    no change │
│ QQuery 60 │        40.69 / 41.14 ±0.50 / 42.11 ms │        40.05 / 41.02 ±0.61 / 41.73 ms │    no change │
│ QQuery 61 │        13.01 / 13.15 ±0.12 / 13.33 ms │        12.99 / 13.19 ±0.13 / 13.39 ms │    no change │
│ QQuery 62 │        47.06 / 47.68 ±0.86 / 49.37 ms │        47.66 / 48.35 ±0.62 / 49.39 ms │    no change │
│ QQuery 63 │        30.37 / 30.59 ±0.22 / 30.99 ms │        30.84 / 31.62 ±1.34 / 34.31 ms │    no change │
│ QQuery 64 │     417.16 / 422.47 ±3.96 / 429.16 ms │     419.04 / 425.05 ±5.60 / 433.86 ms │    no change │
│ QQuery 65 │     149.41 / 152.97 ±3.84 / 159.71 ms │     151.08 / 155.90 ±2.59 / 158.48 ms │    no change │
│ QQuery 66 │        82.74 / 83.59 ±0.88 / 85.23 ms │        81.44 / 83.68 ±2.35 / 88.18 ms │    no change │
│ QQuery 67 │     257.72 / 263.51 ±6.09 / 274.48 ms │     258.54 / 261.64 ±2.20 / 265.16 ms │    no change │
│ QQuery 68 │        12.47 / 12.79 ±0.44 / 13.64 ms │        12.32 / 12.45 ±0.10 / 12.56 ms │    no change │
│ QQuery 69 │        57.94 / 59.21 ±0.74 / 60.16 ms │        58.34 / 60.79 ±3.65 / 68.05 ms │    no change │
│ QQuery 70 │     106.64 / 110.36 ±4.32 / 118.71 ms │     105.58 / 110.18 ±3.54 / 115.87 ms │    no change │
│ QQuery 71 │        35.97 / 36.54 ±0.48 / 37.10 ms │        35.56 / 36.23 ±0.40 / 36.82 ms │    no change │
│ QQuery 72 │ 2278.98 / 2342.23 ±42.63 / 2404.01 ms │ 2209.10 / 2307.58 ±84.16 / 2434.99 ms │    no change │
│ QQuery 73 │        10.19 / 10.51 ±0.26 / 10.89 ms │        10.46 / 10.64 ±0.16 / 10.93 ms │    no change │
│ QQuery 74 │     186.62 / 189.84 ±3.34 / 196.00 ms │     187.70 / 189.42 ±1.18 / 190.63 ms │    no change │
│ QQuery 75 │     152.73 / 154.78 ±1.77 / 157.49 ms │     153.48 / 155.35 ±1.69 / 157.46 ms │    no change │
│ QQuery 76 │        36.25 / 36.67 ±0.40 / 37.17 ms │        36.68 / 37.17 ±0.42 / 37.95 ms │    no change │
│ QQuery 77 │        63.25 / 63.58 ±0.26 / 63.97 ms │        63.02 / 63.22 ±0.17 / 63.53 ms │    no change │
│ QQuery 78 │     206.42 / 212.71 ±6.28 / 222.27 ms │     206.06 / 211.98 ±6.18 / 223.92 ms │    no change │
│ QQuery 79 │        68.26 / 69.03 ±0.44 / 69.47 ms │        70.02 / 71.07 ±1.02 / 72.90 ms │    no change │
│ QQuery 80 │     102.36 / 104.22 ±1.55 / 106.75 ms │     103.91 / 104.68 ±1.23 / 107.14 ms │    no change │
│ QQuery 81 │        26.99 / 27.22 ±0.17 / 27.48 ms │        27.27 / 27.52 ±0.27 / 28.03 ms │    no change │
│ QQuery 82 │        17.46 / 17.65 ±0.12 / 17.83 ms │        17.57 / 17.62 ±0.05 / 17.70 ms │    no change │
│ QQuery 83 │        42.04 / 44.05 ±2.90 / 49.80 ms │        42.61 / 43.71 ±2.07 / 47.86 ms │    no change │
│ QQuery 84 │        32.04 / 32.83 ±0.85 / 34.45 ms │        31.81 / 34.51 ±4.32 / 43.12 ms │ 1.05x slower │
│ QQuery 85 │     109.64 / 110.20 ±0.59 / 111.35 ms │     109.39 / 110.12 ±0.70 / 111.17 ms │    no change │
│ QQuery 86 │        26.05 / 26.51 ±0.26 / 26.85 ms │        26.15 / 26.38 ±0.16 / 26.62 ms │    no change │
│ QQuery 87 │        66.36 / 70.05 ±3.34 / 76.15 ms │        66.37 / 67.25 ±0.74 / 68.14 ms │    no change │
│ QQuery 88 │        64.85 / 65.21 ±0.39 / 65.94 ms │        65.06 / 65.28 ±0.29 / 65.85 ms │    no change │
│ QQuery 89 │        36.83 / 36.96 ±0.14 / 37.19 ms │        36.99 / 37.30 ±0.23 / 37.66 ms │    no change │
│ QQuery 90 │        17.99 / 18.19 ±0.16 / 18.41 ms │        18.03 / 18.42 ±0.27 / 18.74 ms │    no change │
│ QQuery 91 │        46.54 / 46.91 ±0.35 / 47.46 ms │        47.82 / 48.54 ±0.87 / 50.16 ms │    no change │
│ QQuery 92 │        31.33 / 33.34 ±3.10 / 39.53 ms │        31.36 / 34.35 ±3.14 / 40.44 ms │    no change │
│ QQuery 93 │        50.80 / 52.06 ±1.22 / 54.08 ms │        52.13 / 52.89 ±0.49 / 53.67 ms │    no change │
│ QQuery 94 │        39.59 / 40.14 ±0.54 / 41.14 ms │        39.49 / 40.01 ±0.38 / 40.61 ms │    no change │
│ QQuery 95 │        83.62 / 85.03 ±1.21 / 87.13 ms │        84.15 / 85.49 ±1.05 / 87.14 ms │    no change │
│ QQuery 96 │        25.06 / 26.63 ±2.76 / 32.15 ms │        25.34 / 26.56 ±2.21 / 30.99 ms │    no change │
│ QQuery 97 │        47.94 / 48.32 ±0.28 / 48.67 ms │        47.76 / 48.58 ±0.54 / 49.42 ms │    no change │
│ QQuery 98 │        43.15 / 43.67 ±0.43 / 44.21 ms │        44.72 / 45.10 ±0.42 / 45.89 ms │    no change │
│ QQuery 99 │        71.27 / 72.20 ±1.12 / 74.37 ms │        71.20 / 72.23 ±0.78 / 73.61 ms │    no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                   ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                   │ 10447.19ms │
│ Total Time (rich-T-kid_short-circuit-groupColumn)   │ 10447.09ms │
│ Average Time (HEAD)                                 │   105.53ms │
│ Average Time (rich-T-kid_short-circuit-groupColumn) │   105.53ms │
│ Queries Faster                                      │          0 │
│ Queries Slower                                      │          2 │
│ Queries with No Change                              │         97 │
│ Queries with Failure                                │          0 │
└─────────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 55.0s
Peak memory 2.0 GiB
Avg memory 1.4 GiB
CPU user 240.6s
CPU sys 6.3s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 2.0 GiB
Avg memory 1.4 GiB
CPU user 238.0s
CPU sys 6.1s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highmem-16 (12 vCPU / 65 GiB)

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  16
On-line CPU(s) list:                     0-15
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     16
Socket(s):                               -
Cluster(s):                              1
Stepping:                                r0p1
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh rng bti
L1d cache:                               1 MiB (16 instances)
L1i cache:                               1 MiB (16 instances)
L2 cache:                                32 MiB (16 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-15
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected
Details

Comparing HEAD and rich-T-kid_short-circuit-groupColumn
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃  rich-T-kid_short-circuit-groupColumn ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.20 / 4.05 ±5.54 / 15.12 ms │          1.22 / 3.94 ±5.37 / 14.68 ms │     no change │
│ QQuery 1  │        12.64 / 12.86 ±0.15 / 12.99 ms │        12.55 / 12.80 ±0.13 / 12.94 ms │     no change │
│ QQuery 2  │        35.92 / 36.37 ±0.34 / 36.79 ms │        36.00 / 36.27 ±0.26 / 36.70 ms │     no change │
│ QQuery 3  │        30.55 / 31.50 ±0.87 / 32.93 ms │        30.70 / 30.99 ±0.24 / 31.44 ms │     no change │
│ QQuery 4  │     223.10 / 224.58 ±1.39 / 226.26 ms │     220.11 / 225.49 ±3.62 / 228.71 ms │     no change │
│ QQuery 5  │     269.13 / 271.56 ±1.52 / 273.44 ms │     272.57 / 275.87 ±2.69 / 280.23 ms │     no change │
│ QQuery 6  │           1.25 / 1.40 ±0.23 / 1.85 ms │           1.29 / 1.44 ±0.23 / 1.90 ms │     no change │
│ QQuery 7  │        13.56 / 13.65 ±0.09 / 13.81 ms │        13.71 / 13.93 ±0.21 / 14.33 ms │     no change │
│ QQuery 8  │     315.87 / 320.95 ±4.13 / 326.41 ms │     322.58 / 326.03 ±2.40 / 329.75 ms │     no change │
│ QQuery 9  │     454.39 / 456.64 ±1.60 / 458.64 ms │     460.64 / 465.30 ±3.87 / 470.58 ms │     no change │
│ QQuery 10 │        69.15 / 70.33 ±0.93 / 71.93 ms │        70.38 / 71.41 ±0.62 / 72.28 ms │     no change │
│ QQuery 11 │        80.13 / 81.02 ±0.59 / 81.80 ms │        81.29 / 82.60 ±1.39 / 85.20 ms │     no change │
│ QQuery 12 │     265.72 / 270.23 ±3.44 / 275.75 ms │     267.28 / 274.18 ±6.34 / 285.93 ms │     no change │
│ QQuery 13 │    365.92 / 380.95 ±14.92 / 406.97 ms │    364.55 / 384.67 ±14.08 / 403.21 ms │     no change │
│ QQuery 14 │     277.79 / 282.57 ±3.61 / 288.59 ms │     278.27 / 283.56 ±2.85 / 285.96 ms │     no change │
│ QQuery 15 │     262.55 / 272.21 ±7.48 / 284.92 ms │     269.16 / 274.95 ±3.80 / 279.41 ms │     no change │
│ QQuery 16 │     605.53 / 612.01 ±6.89 / 623.62 ms │     609.17 / 614.84 ±4.82 / 622.63 ms │     no change │
│ QQuery 17 │     618.42 / 625.25 ±5.93 / 635.14 ms │     619.05 / 629.79 ±9.48 / 643.00 ms │     no change │
│ QQuery 18 │ 1240.69 / 1257.46 ±12.16 / 1277.69 ms │ 1236.87 / 1275.69 ±26.57 / 1319.93 ms │     no change │
│ QQuery 19 │        27.47 / 28.14 ±0.67 / 29.10 ms │       27.65 / 36.19 ±12.28 / 59.32 ms │  1.29x slower │
│ QQuery 20 │    510.67 / 526.61 ±21.61 / 569.27 ms │     514.90 / 522.62 ±6.22 / 533.87 ms │     no change │
│ QQuery 21 │     508.15 / 513.32 ±4.03 / 518.87 ms │     513.54 / 523.38 ±7.44 / 536.48 ms │     no change │
│ QQuery 22 │     973.45 / 983.33 ±8.77 / 997.82 ms │    986.98 / 996.54 ±8.34 / 1010.71 ms │     no change │
│ QQuery 23 │ 3006.28 / 3029.78 ±15.16 / 3046.37 ms │ 3010.47 / 3066.72 ±51.65 / 3155.71 ms │     no change │
│ QQuery 24 │        41.13 / 44.24 ±4.06 / 52.10 ms │        41.48 / 45.83 ±5.57 / 56.44 ms │     no change │
│ QQuery 25 │    111.90 / 123.57 ±10.96 / 137.57 ms │     111.15 / 112.28 ±1.04 / 113.58 ms │ +1.10x faster │
│ QQuery 26 │        41.43 / 43.28 ±2.15 / 47.45 ms │        41.55 / 42.06 ±0.43 / 42.58 ms │     no change │
│ QQuery 27 │     666.78 / 670.10 ±2.81 / 674.45 ms │    671.06 / 682.66 ±13.82 / 707.62 ms │     no change │
│ QQuery 28 │ 3011.99 / 3029.88 ±12.86 / 3049.46 ms │ 3039.14 / 3066.92 ±19.46 / 3091.67 ms │     no change │
│ QQuery 29 │      40.61 / 58.16 ±28.81 / 115.05 ms │        40.71 / 41.08 ±0.25 / 41.40 ms │ +1.42x faster │
│ QQuery 30 │     299.29 / 305.58 ±4.01 / 310.05 ms │     299.84 / 303.78 ±3.97 / 310.78 ms │     no change │
│ QQuery 31 │     282.36 / 291.49 ±7.91 / 303.49 ms │     277.94 / 287.08 ±7.03 / 296.16 ms │     no change │
│ QQuery 32 │   935.93 / 964.38 ±26.46 / 1010.09 ms │    932.52 / 972.94 ±25.05 / 997.96 ms │     no change │
│ QQuery 33 │ 1441.25 / 1474.83 ±35.01 / 1540.48 ms │ 1451.17 / 1469.74 ±20.04 / 1498.94 ms │     no change │
│ QQuery 34 │ 1459.26 / 1492.36 ±29.27 / 1535.29 ms │ 1447.55 / 1469.69 ±17.84 / 1491.04 ms │     no change │
│ QQuery 35 │     274.44 / 287.38 ±9.46 / 299.95 ms │    277.55 / 321.50 ±53.42 / 411.85 ms │  1.12x slower │
│ QQuery 36 │        67.05 / 79.15 ±8.70 / 93.82 ms │        65.89 / 69.21 ±3.35 / 73.67 ms │ +1.14x faster │
│ QQuery 37 │        35.29 / 35.77 ±0.26 / 36.01 ms │       35.83 / 42.83 ±12.00 / 66.62 ms │  1.20x slower │
│ QQuery 38 │        39.77 / 43.35 ±2.03 / 45.46 ms │        40.98 / 43.07 ±1.44 / 45.04 ms │     no change │
│ QQuery 39 │     151.04 / 158.55 ±6.29 / 168.17 ms │    131.48 / 146.94 ±12.50 / 163.22 ms │ +1.08x faster │
│ QQuery 40 │        13.78 / 15.46 ±2.48 / 20.34 ms │        13.82 / 14.57 ±0.53 / 15.25 ms │ +1.06x faster │
│ QQuery 41 │        13.40 / 13.73 ±0.26 / 14.18 ms │        13.36 / 13.79 ±0.41 / 14.28 ms │     no change │
│ QQuery 42 │        12.84 / 13.74 ±1.36 / 16.44 ms │        13.13 / 13.30 ±0.13 / 13.47 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                   ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                   │ 19451.76ms │
│ Total Time (rich-T-kid_short-circuit-groupColumn)   │ 19588.43ms │
│ Average Time (HEAD)                                 │   452.37ms │
│ Average Time (rich-T-kid_short-circuit-groupColumn) │   455.54ms │
│ Queries Faster                                      │          5 │
│ Queries Slower                                      │          3 │
│ Queries with No Change                              │         35 │
│ Queries with Failure                                │          0 │
└─────────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 10.6 GiB
Avg memory 4.4 GiB
CPU user 1002.3s
CPU sys 67.9s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 100.0s
Peak memory 11.9 GiB
Avg memory 4.6 GiB
CPU user 1004.8s
CPU sys 68.9s
Peak spill 0 B

File an issue against this benchmark runner

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

😞 doesn't seem to have made an impact

@zhuqi-lucas

Copy link
Copy Markdown
Contributor

😞 doesn't seem to have made an impact

It may due to this path is not the hot path for the benchmark.

@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

😞 doesn't seem to have made an impact

It may due to this path is not the hot path for the benchmark.

@zhuqi-lucas what do you mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

physical-plan Changes to the physical-plan crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Short circuit expensive comparissions in GroupColumn trait

4 participants