Skip to content

perf: adaptive direct mapped group values for dense primitive group by keys - #24313

Draft
Dandandan wants to merge 3 commits into
apache:mainfrom
Dandandan:perf/primitive-group-values-no-hash-cache
Draft

perf: adaptive direct mapped group values for dense primitive group by keys#24313
Dandandan wants to merge 3 commits into
apache:mainfrom
Dandandan:perf/primitive-group-values-no-hash-cache

Conversation

@Dandandan

@Dandandan Dandandan commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Single column primitive GROUP BY hashes every row. When the keys are integers over a narrow range — ids, dates, small enums, dictionary codes — the group index can be found by indexing a vector with value - min, with no hashing at all.

Micro-benchmark, UInt64 keys, 8192 row batches, 3 runs alternated with the baseline to cancel machine drift (M-series laptop):

distinct groups main this PR speedup
128 295 µs 224 µs 1.32x
16k 685 µs 366 µs 1.87x
131k 2.49 ms 0.50 ms 4.96x
131k, ascending 2.46 ms 0.48 ms 5.12x
1M 24.1 ms 4.57 ms 5.28x
4M (over the slot cap) 116 ms 93 ms 1.25x
131k, values 64 apart 2.46 ms 2.56 ms 0.96x

The last row is sparse enough that the table is never built; the range is tracked as groups are created, so watching for density costs nothing per row. Memory is lower whenever the table is used: 4 bytes per slot against 16 bytes per hash table bucket.

What changes are included in this PR?

GroupValuesPrimitive gains a direct mapped store next to the existing hash table:

  • Values are hashed as before while the range of the groups is tracked, which costs nothing per row. The direct mapped table is built once the groups fill at least 1/8 of the range they span, capped at 2M slots; tables under 64k slots are built whatever the fill rate. Deciding from the first batch alone would be wrong in both directions, as a batch of a dense column looks sparse simply because it holds a fraction of the values.
  • Values outside the range grow the table while it stays dense enough, otherwise the groups move back to the hash table for good.
  • Slot lookup is one wrapping subtraction on a bias-mapped u64, so values below the table are rejected by the same bounds check as values above it.
  • Group values stay in values in group index order, so emit is unchanged.
  • Only integer types are direct mapped; floats, decimals and intervals are ruled out at compile time and always hash.

The hash path itself is untouched, so anything that does not qualify behaves exactly as before.

Two spill tests were retuned: they assert that a fixed memory limit forces a spill, and the direct mapped table reports less memory than the hash table it replaces.

Are these changes tested?

Yes — 14 unit tests in primitive.rs covering direct mapped interning, growth upwards and downwards, rejection of wide ranges, sparse values staying hashed, a column that only looks sparse until enough values are seen, falling back mid-stream without renumbering groups, groups created in a grown table's slack surviving a rebuild, reconsidering density after the groups are drained, nulls, floats, EmitTo::First re-indexing and clear_shrink. Each asserts that every input row maps to a group holding that row's value, so it holds whichever store was used. Full datafusion-physical-plan suite passes (1693 tests), as does aggregate_fuzz under --features extended_tests.

Are there any user-facing changes?

No API changes. Aggregations on integer keys report lower memory use, so a query near a memory limit may now succeed where it previously spilled.

Single column primitive group by currently hashes every row. When the
values are integers spanning a narrow range - ids, dates, small enums,
dictionary codes - the group index can be looked up by indexing a vector
with `value - min` instead, which removes hashing from the hot path.

The direct mapped table is not chosen up front: the values are hashed as
before while their range is tracked, and the table is only built once the
groups fill at least 1/8 of the range they span (small tables are always
worth it). Deciding from the first batch alone would be wrong in both
directions, since a batch of a dense column looks sparse simply because it
holds a fraction of the values. Values outside the range grow the table
while it stays dense enough, otherwise the groups move back to the hash
table for good.

Slot lookup is a single wrapping subtraction on a bias-mapped u64, so
values below the table are rejected by the same bounds check as values
above it. Group values stay in `values` in group index order, so emitting
is unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYz9cxwBdfZLvcKmWcoiF9
@github-actions github-actions Bot added the physical-plan Changes to the physical-plan crate label Aug 12, 2026
@Dandandan

Copy link
Copy Markdown
Contributor Author

run benchmarks

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5275932078-1576-z9zpr 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (900ca24) to ad977b0 (merge-base) diff

Run configuration
run benchmark 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-c5275932078-1575-q2lzr 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (900ca24) to ad977b0 (merge-base) diff

Run configuration
run benchmark 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-c5275932078-1574-srsbx 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (900ca24) to ad977b0 (merge-base) diff

Run configuration
run benchmark 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)

Comparing perf/primitive-group-values-no-hash-cache (900ca24) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch
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 perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 37.95 ms │                                  38.07 ms │     no change │
│ QQuery 2  │ 19.17 ms │                                  18.82 ms │     no change │
│ QQuery 3  │ 30.75 ms │                                  31.42 ms │     no change │
│ QQuery 4  │ 17.27 ms │                                  17.35 ms │     no change │
│ QQuery 5  │ 37.27 ms │                                  38.91 ms │     no change │
│ QQuery 6  │ 16.09 ms │                                  16.04 ms │     no change │
│ QQuery 7  │ 43.28 ms │                                  43.70 ms │     no change │
│ QQuery 8  │ 42.23 ms │                                  42.10 ms │     no change │
│ QQuery 9  │ 48.98 ms │                                  50.23 ms │     no change │
│ QQuery 10 │ 41.79 ms │                                  42.01 ms │     no change │
│ QQuery 11 │ 13.54 ms │                                  13.53 ms │     no change │
│ QQuery 12 │ 23.75 ms │                                  23.59 ms │     no change │
│ QQuery 13 │ 32.22 ms │                                  32.46 ms │     no change │
│ QQuery 14 │ 22.94 ms │                                  22.95 ms │     no change │
│ QQuery 15 │ 30.57 ms │                                  30.02 ms │     no change │
│ QQuery 16 │ 13.80 ms │                                  13.69 ms │     no change │
│ QQuery 17 │ 70.05 ms │                                  55.94 ms │ +1.25x faster │
│ QQuery 18 │ 59.22 ms │                                  55.93 ms │ +1.06x faster │
│ QQuery 19 │ 32.18 ms │                                  32.34 ms │     no change │
│ QQuery 20 │ 31.22 ms │                                  31.48 ms │     no change │
│ QQuery 21 │ 53.30 ms │                                  55.89 ms │     no change │
│ QQuery 22 │ 13.87 ms │                                  13.80 ms │     no change │
└───────────┴──────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 731.47ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 720.26ms │
│ Average Time (HEAD)                                      │  33.25ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  32.74ms │
│ Queries Faster                                           │        2 │
│ Queries Slower                                           │        0 │
│ Queries with No Change                                   │       20 │
│ Queries with Failure                                     │        0 │
└──────────────────────────────────────────────────────────┴──────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 37.95 / 39.05 ±1.29 / 40.65 ms │            38.07 / 40.56 ±2.49 / 45.00 ms │     no change │
│ QQuery 2  │ 19.17 / 19.90 ±0.91 / 21.65 ms │            18.82 / 19.20 ±0.28 / 19.63 ms │     no change │
│ QQuery 3  │ 30.75 / 32.49 ±1.45 / 34.19 ms │            31.42 / 32.87 ±1.18 / 33.97 ms │     no change │
│ QQuery 4  │ 17.27 / 17.91 ±0.65 / 18.75 ms │            17.35 / 17.82 ±0.42 / 18.42 ms │     no change │
│ QQuery 5  │ 37.27 / 40.22 ±2.31 / 44.37 ms │            38.91 / 41.11 ±1.57 / 43.83 ms │     no change │
│ QQuery 6  │ 16.09 / 16.38 ±0.29 / 16.94 ms │            16.04 / 16.19 ±0.09 / 16.30 ms │     no change │
│ QQuery 7  │ 43.28 / 44.92 ±0.95 / 45.97 ms │            43.70 / 44.47 ±0.66 / 45.49 ms │     no change │
│ QQuery 8  │ 42.23 / 42.81 ±0.99 / 44.79 ms │            42.10 / 42.71 ±0.98 / 44.66 ms │     no change │
│ QQuery 9  │ 48.98 / 50.94 ±1.61 / 53.49 ms │            50.23 / 52.04 ±1.05 / 53.38 ms │     no change │
│ QQuery 10 │ 41.79 / 43.55 ±1.83 / 46.13 ms │            42.01 / 43.13 ±1.56 / 46.06 ms │     no change │
│ QQuery 11 │ 13.54 / 14.37 ±0.96 / 15.91 ms │            13.53 / 13.64 ±0.10 / 13.83 ms │ +1.05x faster │
│ QQuery 12 │ 23.75 / 24.17 ±0.24 / 24.49 ms │            23.59 / 24.04 ±0.47 / 24.83 ms │     no change │
│ QQuery 13 │ 32.22 / 33.53 ±1.00 / 35.15 ms │            32.46 / 33.90 ±1.14 / 35.38 ms │     no change │
│ QQuery 14 │ 22.94 / 24.25 ±2.19 / 28.63 ms │            22.95 / 23.10 ±0.12 / 23.29 ms │     no change │
│ QQuery 15 │ 30.57 / 30.83 ±0.16 / 31.02 ms │            30.02 / 30.36 ±0.40 / 31.14 ms │     no change │
│ QQuery 16 │ 13.80 / 13.93 ±0.14 / 14.10 ms │            13.69 / 13.93 ±0.24 / 14.39 ms │     no change │
│ QQuery 17 │ 70.05 / 71.80 ±1.76 / 74.38 ms │            55.94 / 56.65 ±0.67 / 57.91 ms │ +1.27x faster │
│ QQuery 18 │ 59.22 / 61.38 ±1.68 / 63.57 ms │            55.93 / 57.02 ±0.92 / 58.18 ms │ +1.08x faster │
│ QQuery 19 │ 32.18 / 32.96 ±0.82 / 34.41 ms │            32.34 / 32.75 ±0.41 / 33.54 ms │     no change │
│ QQuery 20 │ 31.22 / 31.79 ±0.30 / 32.10 ms │            31.48 / 31.64 ±0.17 / 31.95 ms │     no change │
│ QQuery 21 │ 53.30 / 56.50 ±1.90 / 58.41 ms │            55.89 / 57.01 ±1.22 / 59.36 ms │     no change │
│ QQuery 22 │ 13.87 / 14.11 ±0.13 / 14.22 ms │            13.80 / 14.39 ±0.59 / 15.50 ms │     no change │
└───────────┴────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 757.78ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 738.52ms │
│ Average Time (HEAD)                                      │  34.44ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  33.57ms │
│ Queries Faster                                           │        3 │
│ Queries Slower                                           │        0 │
│ Queries with No Change                                   │       19 │
│ Queries with Failure                                     │        0 │
└──────────────────────────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 513.6 MiB
CPU user 21.6s
CPU sys 1.6s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 511.8 MiB
CPU user 20.7s
CPU sys 1.7s
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)

Comparing perf/primitive-group-values-no-hash-cache (900ca24) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpcds
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 perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │    6.10 ms │                                   5.94 ms │     no change │
│ QQuery 2  │   82.13 ms │                                  79.22 ms │     no change │
│ QQuery 3  │   29.91 ms │                                  29.19 ms │     no change │
│ QQuery 4  │  493.88 ms │                                 480.82 ms │     no change │
│ QQuery 5  │   52.08 ms │                                  52.51 ms │     no change │
│ QQuery 6  │   36.16 ms │                                  36.33 ms │     no change │
│ QQuery 7  │   95.02 ms │                                  94.05 ms │     no change │
│ QQuery 8  │   38.37 ms │                                  36.82 ms │     no change │
│ QQuery 9  │   54.26 ms │                                  52.59 ms │     no change │
│ QQuery 10 │   64.58 ms │                                  63.35 ms │     no change │
│ QQuery 11 │  305.03 ms │                                 304.01 ms │     no change │
│ QQuery 12 │   30.19 ms │                                  29.21 ms │     no change │
│ QQuery 13 │  118.33 ms │                                 119.10 ms │     no change │
│ QQuery 14 │  418.84 ms │                                 415.78 ms │     no change │
│ QQuery 15 │   57.33 ms │                                  58.39 ms │     no change │
│ QQuery 16 │    6.55 ms │                                   6.92 ms │  1.06x slower │
│ QQuery 17 │   79.90 ms │                                  83.59 ms │     no change │
│ QQuery 18 │  123.93 ms │                                 132.38 ms │  1.07x slower │
│ QQuery 19 │   41.17 ms │                                  44.04 ms │  1.07x slower │
│ QQuery 20 │   36.39 ms │                                  36.39 ms │     no change │
│ QQuery 21 │   17.29 ms │                                  17.57 ms │     no change │
│ QQuery 22 │   62.88 ms │                                  64.27 ms │     no change │
│ QQuery 23 │  344.75 ms │                                 341.68 ms │     no change │
│ QQuery 24 │  223.57 ms │                                 228.17 ms │     no change │
│ QQuery 25 │  109.83 ms │                                 111.89 ms │     no change │
│ QQuery 26 │   58.54 ms │                                  58.11 ms │     no change │
│ QQuery 27 │    6.41 ms │                                   6.53 ms │     no change │
│ QQuery 28 │   60.63 ms │                                  61.37 ms │     no change │
│ QQuery 29 │   97.04 ms │                                  99.05 ms │     no change │
│ QQuery 30 │   32.41 ms │                                  32.98 ms │     no change │
│ QQuery 31 │  111.21 ms │                                 111.62 ms │     no change │
│ QQuery 32 │   20.21 ms │                                  19.99 ms │     no change │
│ QQuery 33 │   38.19 ms │                                  38.37 ms │     no change │
│ QQuery 34 │    9.98 ms │                                  10.05 ms │     no change │
│ QQuery 35 │   72.89 ms │                                  73.78 ms │     no change │
│ QQuery 36 │    5.96 ms │                                   6.15 ms │     no change │
│ QQuery 37 │    6.80 ms │                                   7.07 ms │     no change │
│ QQuery 38 │   61.44 ms │                                  62.77 ms │     no change │
│ QQuery 39 │   92.47 ms │                                  90.76 ms │     no change │
│ QQuery 40 │   24.70 ms │                                  22.93 ms │ +1.08x faster │
│ QQuery 41 │   12.63 ms │                                  11.70 ms │ +1.08x faster │
│ QQuery 42 │   25.12 ms │                                  23.89 ms │     no change │
│ QQuery 43 │    5.57 ms │                                   5.14 ms │ +1.08x faster │
│ QQuery 44 │   10.44 ms │                                   9.69 ms │ +1.08x faster │
│ QQuery 45 │   50.03 ms │                                  39.36 ms │ +1.27x faster │
│ QQuery 46 │   13.16 ms │                                  12.41 ms │ +1.06x faster │
│ QQuery 47 │  233.11 ms │                                 230.71 ms │     no change │
│ QQuery 48 │   96.16 ms │                                  96.61 ms │     no change │
│ QQuery 49 │   76.97 ms │                                  76.76 ms │     no change │
│ QQuery 50 │   59.05 ms │                                  59.83 ms │     no change │
│ QQuery 51 │   92.86 ms │                                  93.03 ms │     no change │
│ QQuery 52 │   24.29 ms │                                  24.19 ms │     no change │
│ QQuery 53 │   28.80 ms │                                  29.55 ms │     no change │
│ QQuery 54 │   54.25 ms │                                  55.64 ms │     no change │
│ QQuery 55 │   23.19 ms │                                  23.52 ms │     no change │
│ QQuery 56 │   38.60 ms │                                  38.87 ms │     no change │
│ QQuery 57 │  176.79 ms │                                 185.45 ms │     no change │
│ QQuery 58 │  115.14 ms │                                 120.96 ms │  1.05x slower │
│ QQuery 59 │  118.48 ms │                                 118.24 ms │     no change │
│ QQuery 60 │   39.65 ms │                                  39.44 ms │     no change │
│ QQuery 61 │   12.42 ms │                                  12.29 ms │     no change │
│ QQuery 62 │   46.92 ms │                                  46.45 ms │     no change │
│ QQuery 63 │   29.80 ms │                                  29.18 ms │     no change │
│ QQuery 64 │  409.39 ms │                                 409.20 ms │     no change │
│ QQuery 65 │  125.37 ms │                                 127.76 ms │     no change │
│ QQuery 66 │   80.87 ms │                                  80.70 ms │     no change │
│ QQuery 67 │  239.99 ms │                                 248.61 ms │     no change │
│ QQuery 68 │   11.98 ms │                                  12.48 ms │     no change │
│ QQuery 69 │   57.29 ms │                                  57.14 ms │     no change │
│ QQuery 70 │  106.54 ms │                                 107.03 ms │     no change │
│ QQuery 71 │   35.88 ms │                                  35.39 ms │     no change │
│ QQuery 72 │ 2021.47 ms │                                2008.36 ms │     no change │
│ QQuery 73 │    9.46 ms │                                  10.75 ms │  1.14x slower │
│ QQuery 74 │  170.63 ms │                                 170.58 ms │     no change │
│ QQuery 75 │  149.65 ms │                                 149.03 ms │     no change │
│ QQuery 76 │   35.85 ms │                                  35.34 ms │     no change │
│ QQuery 77 │   61.41 ms │                                  61.42 ms │     no change │
│ QQuery 78 │  199.57 ms │                                 197.36 ms │     no change │
│ QQuery 79 │   66.92 ms │                                  66.99 ms │     no change │
│ QQuery 80 │   99.78 ms │                                  97.60 ms │     no change │
│ QQuery 81 │   25.72 ms │                                  25.51 ms │     no change │
│ QQuery 82 │   16.08 ms │                                  16.46 ms │     no change │
│ QQuery 83 │   39.34 ms │                                  40.25 ms │     no change │
│ QQuery 84 │   29.87 ms │                                  29.53 ms │     no change │
│ QQuery 85 │  107.10 ms │                                 105.80 ms │     no change │
│ QQuery 86 │   25.16 ms │                                  25.44 ms │     no change │
│ QQuery 87 │   61.78 ms │                                  62.23 ms │     no change │
│ QQuery 88 │   62.64 ms │                                  62.45 ms │     no change │
│ QQuery 89 │   35.51 ms │                                  35.52 ms │     no change │
│ QQuery 90 │   16.87 ms │                                  17.12 ms │     no change │
│ QQuery 91 │   45.71 ms │                                  46.68 ms │     no change │
│ QQuery 92 │   29.61 ms │                                  28.62 ms │     no change │
│ QQuery 93 │   49.78 ms │                                  49.77 ms │     no change │
│ QQuery 94 │   38.40 ms │                                  37.91 ms │     no change │
│ QQuery 95 │   80.64 ms │                                  81.10 ms │     no change │
│ QQuery 96 │   24.69 ms │                                  23.92 ms │     no change │
│ QQuery 97 │   49.72 ms │                                  46.53 ms │ +1.07x faster │
│ QQuery 98 │   47.60 ms │                                  42.21 ms │ +1.13x faster │
│ QQuery 99 │   74.52 ms │                                  71.06 ms │     no change │
└───────────┴────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 9753.57ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 9732.50ms │
│ Average Time (HEAD)                                      │   98.52ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │   98.31ms │
│ Queries Faster                                           │         8 │
│ Queries Slower                                           │         5 │
│ Queries with No Change                                   │        86 │
│ Queries with Failure                                     │         0 │
└──────────────────────────────────────────────────────────┴───────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           6.10 / 6.55 ±0.82 / 8.18 ms │               5.94 / 6.64 ±0.99 / 8.60 ms │     no change │
│ QQuery 2  │        82.13 / 82.56 ±0.39 / 83.29 ms │            79.22 / 79.47 ±0.25 / 79.91 ms │     no change │
│ QQuery 3  │        29.91 / 30.47 ±0.37 / 30.95 ms │            29.19 / 29.28 ±0.06 / 29.38 ms │     no change │
│ QQuery 4  │     493.88 / 499.21 ±3.34 / 504.11 ms │        480.82 / 498.49 ±15.73 / 528.01 ms │     no change │
│ QQuery 5  │        52.08 / 53.03 ±0.96 / 54.87 ms │            52.51 / 53.02 ±0.38 / 53.45 ms │     no change │
│ QQuery 6  │        36.16 / 36.80 ±0.45 / 37.46 ms │            36.33 / 36.64 ±0.21 / 36.88 ms │     no change │
│ QQuery 7  │       95.02 / 98.24 ±3.37 / 104.57 ms │            94.05 / 94.57 ±0.39 / 94.97 ms │     no change │
│ QQuery 8  │        38.37 / 39.08 ±0.54 / 39.99 ms │            36.82 / 38.23 ±2.06 / 42.28 ms │     no change │
│ QQuery 9  │        54.26 / 56.98 ±2.62 / 61.02 ms │            52.59 / 54.86 ±2.31 / 59.13 ms │     no change │
│ QQuery 10 │        64.58 / 65.16 ±0.35 / 65.56 ms │            63.35 / 64.72 ±1.05 / 66.17 ms │     no change │
│ QQuery 11 │    305.03 / 326.82 ±26.67 / 378.88 ms │        304.01 / 324.25 ±22.79 / 353.34 ms │     no change │
│ QQuery 12 │        30.19 / 30.99 ±0.53 / 31.83 ms │            29.21 / 29.29 ±0.10 / 29.49 ms │ +1.06x faster │
│ QQuery 13 │     118.33 / 122.39 ±2.22 / 124.66 ms │         119.10 / 119.90 ±1.14 / 122.13 ms │     no change │
│ QQuery 14 │     418.84 / 422.16 ±1.99 / 424.99 ms │         415.78 / 426.26 ±6.88 / 435.36 ms │     no change │
│ QQuery 15 │        57.33 / 58.95 ±1.05 / 60.61 ms │            58.39 / 59.50 ±1.43 / 61.95 ms │     no change │
│ QQuery 16 │           6.55 / 6.68 ±0.19 / 7.05 ms │               6.92 / 7.21 ±0.20 / 7.43 ms │  1.08x slower │
│ QQuery 17 │        79.90 / 82.14 ±2.61 / 86.13 ms │            83.59 / 85.98 ±2.82 / 90.99 ms │     no change │
│ QQuery 18 │     123.93 / 124.80 ±0.86 / 126.39 ms │         132.38 / 133.61 ±1.44 / 136.28 ms │  1.07x slower │
│ QQuery 19 │        41.17 / 41.71 ±0.30 / 42.01 ms │            44.04 / 45.65 ±1.53 / 48.41 ms │  1.09x slower │
│ QQuery 20 │        36.39 / 37.52 ±1.23 / 39.91 ms │            36.39 / 39.17 ±1.70 / 41.04 ms │     no change │
│ QQuery 21 │        17.29 / 17.60 ±0.31 / 18.15 ms │            17.57 / 18.00 ±0.37 / 18.54 ms │     no change │
│ QQuery 22 │        62.88 / 63.92 ±0.74 / 64.91 ms │            64.27 / 69.08 ±5.16 / 78.39 ms │  1.08x slower │
│ QQuery 23 │    344.75 / 358.56 ±16.26 / 388.16 ms │         341.68 / 347.78 ±7.85 / 363.07 ms │     no change │
│ QQuery 24 │     223.57 / 227.50 ±3.41 / 233.09 ms │         228.17 / 233.49 ±6.14 / 243.89 ms │     no change │
│ QQuery 25 │     109.83 / 112.00 ±1.97 / 114.91 ms │         111.89 / 113.44 ±1.73 / 116.64 ms │     no change │
│ QQuery 26 │        58.54 / 59.78 ±1.30 / 62.12 ms │            58.11 / 58.51 ±0.38 / 59.22 ms │     no change │
│ QQuery 27 │           6.41 / 6.54 ±0.16 / 6.85 ms │               6.53 / 6.70 ±0.20 / 7.08 ms │     no change │
│ QQuery 28 │        60.63 / 60.92 ±0.27 / 61.32 ms │            61.37 / 61.79 ±0.39 / 62.32 ms │     no change │
│ QQuery 29 │      97.04 / 101.56 ±5.80 / 112.91 ms │          99.05 / 102.11 ±3.37 / 108.23 ms │     no change │
│ QQuery 30 │        32.41 / 32.77 ±0.23 / 33.03 ms │            32.98 / 33.23 ±0.21 / 33.55 ms │     no change │
│ QQuery 31 │     111.21 / 111.80 ±0.62 / 112.98 ms │         111.62 / 112.29 ±0.62 / 113.31 ms │     no change │
│ QQuery 32 │        20.21 / 22.11 ±3.13 / 28.37 ms │            19.99 / 21.98 ±2.88 / 27.70 ms │     no change │
│ QQuery 33 │        38.19 / 38.93 ±0.56 / 39.52 ms │            38.37 / 38.69 ±0.39 / 39.45 ms │     no change │
│ QQuery 34 │         9.98 / 10.36 ±0.21 / 10.56 ms │            10.05 / 10.42 ±0.23 / 10.71 ms │     no change │
│ QQuery 35 │        72.89 / 73.95 ±0.80 / 75.33 ms │            73.78 / 74.59 ±0.53 / 75.19 ms │     no change │
│ QQuery 36 │           5.96 / 6.06 ±0.15 / 6.35 ms │               6.15 / 6.31 ±0.20 / 6.70 ms │     no change │
│ QQuery 37 │           6.80 / 6.88 ±0.08 / 7.03 ms │               7.07 / 7.13 ±0.04 / 7.19 ms │     no change │
│ QQuery 38 │        61.44 / 62.85 ±1.60 / 65.97 ms │            62.77 / 63.42 ±0.61 / 64.57 ms │     no change │
│ QQuery 39 │       92.47 / 99.86 ±4.40 / 105.05 ms │            90.76 / 92.26 ±0.77 / 92.88 ms │ +1.08x faster │
│ QQuery 40 │        24.70 / 24.85 ±0.23 / 25.30 ms │            22.93 / 23.57 ±0.52 / 24.39 ms │ +1.05x faster │
│ QQuery 41 │        12.63 / 12.83 ±0.12 / 12.96 ms │            11.70 / 11.87 ±0.15 / 12.14 ms │ +1.08x faster │
│ QQuery 42 │        25.12 / 25.79 ±0.47 / 26.43 ms │            23.89 / 24.36 ±0.42 / 24.93 ms │ +1.06x faster │
│ QQuery 43 │           5.57 / 5.68 ±0.08 / 5.79 ms │               5.14 / 5.25 ±0.10 / 5.45 ms │ +1.08x faster │
│ QQuery 44 │        10.44 / 10.54 ±0.06 / 10.60 ms │               9.69 / 9.76 ±0.05 / 9.83 ms │ +1.08x faster │
│ QQuery 45 │        50.03 / 52.41 ±2.19 / 56.34 ms │            39.36 / 41.14 ±2.01 / 45.01 ms │ +1.27x faster │
│ QQuery 46 │        13.16 / 13.82 ±0.58 / 14.83 ms │            12.41 / 12.83 ±0.36 / 13.50 ms │ +1.08x faster │
│ QQuery 47 │    233.11 / 249.81 ±19.80 / 281.13 ms │         230.71 / 236.24 ±4.07 / 241.23 ms │ +1.06x faster │
│ QQuery 48 │        96.16 / 96.92 ±0.62 / 97.72 ms │            96.61 / 97.17 ±0.57 / 98.25 ms │     no change │
│ QQuery 49 │        76.97 / 78.48 ±1.62 / 80.78 ms │            76.76 / 79.51 ±2.84 / 84.78 ms │     no change │
│ QQuery 50 │        59.05 / 59.58 ±0.31 / 59.89 ms │            59.83 / 60.09 ±0.33 / 60.71 ms │     no change │
│ QQuery 51 │       92.86 / 96.10 ±4.17 / 104.01 ms │            93.03 / 96.29 ±2.61 / 99.48 ms │     no change │
│ QQuery 52 │        24.29 / 24.50 ±0.14 / 24.73 ms │            24.19 / 24.88 ±0.70 / 26.06 ms │     no change │
│ QQuery 53 │        28.80 / 29.33 ±0.37 / 29.83 ms │            29.55 / 30.19 ±0.58 / 31.25 ms │     no change │
│ QQuery 54 │        54.25 / 54.98 ±0.39 / 55.30 ms │            55.64 / 56.40 ±0.47 / 56.97 ms │     no change │
│ QQuery 55 │        23.19 / 23.54 ±0.22 / 23.86 ms │            23.52 / 23.73 ±0.26 / 24.21 ms │     no change │
│ QQuery 56 │        38.60 / 39.22 ±0.54 / 40.02 ms │            38.87 / 39.17 ±0.16 / 39.31 ms │     no change │
│ QQuery 57 │     176.79 / 180.66 ±6.16 / 192.89 ms │         185.45 / 190.98 ±3.74 / 196.63 ms │  1.06x slower │
│ QQuery 58 │     115.14 / 118.06 ±3.55 / 125.05 ms │         120.96 / 123.31 ±1.88 / 126.57 ms │     no change │
│ QQuery 59 │     118.48 / 119.41 ±1.49 / 122.36 ms │         118.24 / 120.02 ±1.25 / 121.48 ms │     no change │
│ QQuery 60 │        39.65 / 40.79 ±1.33 / 43.31 ms │            39.44 / 40.07 ±0.51 / 40.94 ms │     no change │
│ QQuery 61 │        12.42 / 12.58 ±0.13 / 12.79 ms │            12.29 / 12.44 ±0.17 / 12.77 ms │     no change │
│ QQuery 62 │        46.92 / 47.36 ±0.35 / 47.92 ms │            46.45 / 47.06 ±0.32 / 47.34 ms │     no change │
│ QQuery 63 │        29.80 / 30.02 ±0.20 / 30.40 ms │            29.18 / 29.40 ±0.19 / 29.64 ms │     no change │
│ QQuery 64 │     409.39 / 415.77 ±7.64 / 429.82 ms │         409.20 / 414.20 ±3.37 / 419.62 ms │     no change │
│ QQuery 65 │     125.37 / 127.83 ±2.92 / 133.27 ms │         127.76 / 130.40 ±3.38 / 136.59 ms │     no change │
│ QQuery 66 │        80.87 / 81.59 ±0.40 / 81.92 ms │            80.70 / 81.23 ±0.57 / 82.19 ms │     no change │
│ QQuery 67 │     239.99 / 247.97 ±5.66 / 255.77 ms │         248.61 / 253.81 ±4.80 / 261.59 ms │     no change │
│ QQuery 68 │        11.98 / 12.25 ±0.34 / 12.92 ms │            12.48 / 12.89 ±0.54 / 13.95 ms │  1.05x slower │
│ QQuery 69 │        57.29 / 59.89 ±3.67 / 67.13 ms │            57.14 / 57.77 ±0.56 / 58.66 ms │     no change │
│ QQuery 70 │     106.54 / 108.60 ±2.11 / 112.12 ms │         107.03 / 109.39 ±2.31 / 113.72 ms │     no change │
│ QQuery 71 │        35.88 / 37.65 ±2.61 / 42.74 ms │            35.39 / 35.73 ±0.30 / 36.09 ms │ +1.05x faster │
│ QQuery 72 │ 2021.47 / 2099.45 ±61.75 / 2185.24 ms │    2008.36 / 2110.99 ±151.23 / 2408.51 ms │     no change │
│ QQuery 73 │          9.46 / 9.72 ±0.39 / 10.48 ms │            10.75 / 10.95 ±0.15 / 11.18 ms │  1.13x slower │
│ QQuery 74 │     170.63 / 172.98 ±1.69 / 175.02 ms │        170.58 / 199.69 ±18.60 / 216.27 ms │  1.15x slower │
│ QQuery 75 │     149.65 / 155.12 ±5.94 / 164.21 ms │         149.03 / 154.00 ±4.22 / 160.48 ms │     no change │
│ QQuery 76 │        35.85 / 36.13 ±0.48 / 37.09 ms │            35.34 / 35.65 ±0.29 / 36.19 ms │     no change │
│ QQuery 77 │        61.41 / 62.21 ±0.54 / 63.00 ms │            61.42 / 62.04 ±0.75 / 63.37 ms │     no change │
│ QQuery 78 │     199.57 / 201.72 ±2.69 / 206.77 ms │         197.36 / 204.30 ±8.32 / 220.42 ms │     no change │
│ QQuery 79 │        66.92 / 69.71 ±2.95 / 74.68 ms │            66.99 / 68.39 ±1.32 / 70.04 ms │     no change │
│ QQuery 80 │      99.78 / 102.19 ±1.98 / 105.24 ms │          97.60 / 101.11 ±2.40 / 105.03 ms │     no change │
│ QQuery 81 │        25.72 / 25.93 ±0.20 / 26.29 ms │            25.51 / 25.86 ±0.22 / 26.17 ms │     no change │
│ QQuery 82 │        16.08 / 17.20 ±1.63 / 20.44 ms │            16.46 / 18.06 ±2.60 / 23.23 ms │  1.05x slower │
│ QQuery 83 │        39.34 / 41.06 ±2.57 / 46.14 ms │            40.25 / 41.98 ±1.93 / 45.18 ms │     no change │
│ QQuery 84 │        29.87 / 31.24 ±1.92 / 35.02 ms │            29.53 / 30.05 ±0.45 / 30.64 ms │     no change │
│ QQuery 85 │     107.10 / 107.84 ±1.06 / 109.93 ms │         105.80 / 106.78 ±0.57 / 107.60 ms │     no change │
│ QQuery 86 │        25.16 / 26.23 ±1.50 / 29.18 ms │            25.44 / 26.80 ±1.70 / 30.11 ms │     no change │
│ QQuery 87 │        61.78 / 62.80 ±0.79 / 64.13 ms │            62.23 / 63.59 ±0.85 / 64.45 ms │     no change │
│ QQuery 88 │        62.64 / 63.31 ±0.61 / 64.35 ms │            62.45 / 63.46 ±0.76 / 64.81 ms │     no change │
│ QQuery 89 │        35.51 / 35.92 ±0.40 / 36.58 ms │            35.52 / 36.27 ±0.48 / 36.78 ms │     no change │
│ QQuery 90 │        16.87 / 17.10 ±0.25 / 17.58 ms │            17.12 / 17.39 ±0.17 / 17.62 ms │     no change │
│ QQuery 91 │        45.71 / 46.05 ±0.29 / 46.58 ms │            46.68 / 47.75 ±1.25 / 50.11 ms │     no change │
│ QQuery 92 │        29.61 / 30.86 ±1.42 / 33.49 ms │            28.62 / 29.41 ±0.43 / 29.83 ms │     no change │
│ QQuery 93 │        49.78 / 51.42 ±1.05 / 52.93 ms │            49.77 / 51.16 ±1.35 / 53.48 ms │     no change │
│ QQuery 94 │        38.40 / 38.61 ±0.25 / 38.94 ms │            37.91 / 38.35 ±0.43 / 39.02 ms │     no change │
│ QQuery 95 │        80.64 / 83.24 ±3.76 / 90.71 ms │            81.10 / 82.79 ±1.76 / 85.86 ms │     no change │
│ QQuery 96 │        24.69 / 25.77 ±1.38 / 28.50 ms │            23.92 / 24.35 ±0.41 / 24.98 ms │ +1.06x faster │
│ QQuery 97 │        49.72 / 51.08 ±1.30 / 53.47 ms │            46.53 / 47.06 ±0.39 / 47.72 ms │ +1.09x faster │
│ QQuery 98 │        47.60 / 48.31 ±0.50 / 49.04 ms │            42.21 / 43.27 ±0.55 / 43.73 ms │ +1.12x faster │
│ QQuery 99 │        74.52 / 76.15 ±2.61 / 81.36 ms │            71.06 / 72.31 ±1.84 / 75.90 ms │ +1.05x faster │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 10024.32ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 10042.92ms │
│ Average Time (HEAD)                                      │   101.26ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │   101.44ms │
│ Queries Faster                                           │         15 │
│ Queries Slower                                           │          9 │
│ Queries with No Change                                   │         75 │
│ Queries with Failure                                     │          0 │
└──────────────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 55.0s
Peak memory 2.3 GiB
Avg memory 1.5 GiB
CPU user 220.8s
CPU sys 6.4s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 2.2 GiB
Avg memory 1.5 GiB
CPU user 221.3s
CPU sys 6.3s
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)

Comparing perf/primitive-group-values-no-hash-cache (900ca24) to ad977b0 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned
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 perf_primitive-group-values-no-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.24 ms │                                   1.26 ms │     no change │
│ QQuery 1  │   12.04 ms │                                  12.18 ms │     no change │
│ QQuery 2  │   36.26 ms │                                  37.42 ms │     no change │
│ QQuery 3  │   30.67 ms │                                  30.70 ms │     no change │
│ QQuery 4  │  222.14 ms │                                 237.21 ms │  1.07x slower │
│ QQuery 5  │  273.96 ms │                                 274.14 ms │     no change │
│ QQuery 6  │    1.30 ms │                                   1.29 ms │     no change │
│ QQuery 7  │   13.20 ms │                                  13.47 ms │     no change │
│ QQuery 8  │  324.66 ms │                                 333.29 ms │     no change │
│ QQuery 9  │  459.74 ms │                                 473.80 ms │     no change │
│ QQuery 10 │   69.72 ms │                                  70.55 ms │     no change │
│ QQuery 11 │   81.07 ms │                                  82.40 ms │     no change │
│ QQuery 12 │  268.67 ms │                                 272.60 ms │     no change │
│ QQuery 13 │  362.56 ms │                                 362.62 ms │     no change │
│ QQuery 14 │  283.16 ms │                                 283.93 ms │     no change │
│ QQuery 15 │  266.98 ms │                                 281.42 ms │  1.05x slower │
│ QQuery 16 │  615.20 ms │                                 604.97 ms │     no change │
│ QQuery 17 │  615.95 ms │                                 617.07 ms │     no change │
│ QQuery 18 │ 1272.76 ms │                                1257.24 ms │     no change │
│ QQuery 19 │   27.40 ms │                                  27.29 ms │     no change │
│ QQuery 20 │  520.04 ms │                                 517.80 ms │     no change │
│ QQuery 21 │  511.61 ms │                                 521.05 ms │     no change │
│ QQuery 22 │  977.64 ms │                                 987.09 ms │     no change │
│ QQuery 23 │ 3025.74 ms │                                3048.11 ms │     no change │
│ QQuery 24 │   41.03 ms │                                  41.47 ms │     no change │
│ QQuery 25 │  110.66 ms │                                 111.66 ms │     no change │
│ QQuery 26 │   41.19 ms │                                  41.40 ms │     no change │
│ QQuery 27 │  512.46 ms │                                 517.50 ms │     no change │
│ QQuery 28 │ 2914.53 ms │                                2879.00 ms │     no change │
│ QQuery 29 │   41.26 ms │                                  41.11 ms │     no change │
│ QQuery 30 │  309.53 ms │                                 303.47 ms │     no change │
│ QQuery 31 │  283.73 ms │                                 278.50 ms │     no change │
│ QQuery 32 │  935.97 ms │                                 917.12 ms │     no change │
│ QQuery 33 │ 1476.86 ms │                                1433.85 ms │     no change │
│ QQuery 34 │ 1495.62 ms │                                1475.94 ms │     no change │
│ QQuery 35 │  286.36 ms │                                 284.06 ms │     no change │
│ QQuery 36 │   67.37 ms │                                  67.80 ms │     no change │
│ QQuery 37 │   35.99 ms │                                  35.52 ms │     no change │
│ QQuery 38 │   40.80 ms │                                  40.43 ms │     no change │
│ QQuery 39 │  145.23 ms │                                 139.85 ms │     no change │
│ QQuery 40 │   15.20 ms │                                  13.93 ms │ +1.09x faster │
│ QQuery 41 │   13.91 ms │                                  13.67 ms │     no change │
│ QQuery 42 │   13.27 ms │                                  14.05 ms │  1.06x slower │
└───────────┴────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 19054.69ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 18999.23ms │
│ Average Time (HEAD)                                      │   443.13ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │   441.84ms │
│ Queries Faster                                           │          1 │
│ Queries Slower                                           │          3 │
│ Queries with No Change                                   │         39 │
│ Queries with Failure                                     │          0 │
└──────────────────────────────────────────────────────────┴────────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and perf_primitive-group-values-no-hash-cache
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                   HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │           1.24 / 3.93 ±5.33 / 14.59 ms │              1.26 / 3.95 ±5.31 / 14.58 ms │     no change │
│ QQuery 1  │         12.04 / 12.13 ±0.09 / 12.26 ms │            12.18 / 12.38 ±0.12 / 12.52 ms │     no change │
│ QQuery 2  │         36.26 / 36.89 ±0.43 / 37.62 ms │            37.42 / 37.74 ±0.32 / 38.29 ms │     no change │
│ QQuery 3  │         30.67 / 31.45 ±0.67 / 32.54 ms │            30.70 / 31.26 ±0.45 / 31.92 ms │     no change │
│ QQuery 4  │      222.14 / 226.82 ±3.51 / 231.21 ms │         237.21 / 239.09 ±1.08 / 240.35 ms │  1.05x slower │
│ QQuery 5  │      273.96 / 275.10 ±1.62 / 278.28 ms │         274.14 / 277.97 ±3.04 / 283.23 ms │     no change │
│ QQuery 6  │            1.30 / 1.45 ±0.23 / 1.90 ms │               1.29 / 1.43 ±0.20 / 1.81 ms │     no change │
│ QQuery 7  │         13.20 / 13.48 ±0.19 / 13.79 ms │            13.47 / 13.57 ±0.08 / 13.69 ms │     no change │
│ QQuery 8  │      324.66 / 329.21 ±2.96 / 333.55 ms │         333.29 / 337.22 ±3.11 / 340.00 ms │     no change │
│ QQuery 9  │      459.74 / 467.33 ±9.62 / 485.25 ms │         473.80 / 483.41 ±9.03 / 498.92 ms │     no change │
│ QQuery 10 │         69.72 / 71.55 ±2.42 / 76.28 ms │            70.55 / 71.87 ±1.13 / 73.79 ms │     no change │
│ QQuery 11 │         81.07 / 81.56 ±0.37 / 82.21 ms │            82.40 / 84.18 ±3.00 / 90.17 ms │     no change │
│ QQuery 12 │      268.67 / 274.19 ±7.19 / 288.38 ms │         272.60 / 275.96 ±4.63 / 284.51 ms │     no change │
│ QQuery 13 │      362.56 / 373.67 ±8.92 / 386.48 ms │         362.62 / 375.46 ±9.89 / 389.45 ms │     no change │
│ QQuery 14 │      283.16 / 284.85 ±1.70 / 288.05 ms │         283.93 / 292.23 ±6.40 / 303.72 ms │     no change │
│ QQuery 15 │      266.98 / 276.32 ±7.66 / 288.38 ms │         281.42 / 290.33 ±5.76 / 298.16 ms │  1.05x slower │
│ QQuery 16 │      615.20 / 620.02 ±5.45 / 628.62 ms │        604.97 / 622.46 ±11.24 / 636.78 ms │     no change │
│ QQuery 17 │     615.95 / 634.81 ±16.86 / 664.60 ms │        617.07 / 642.61 ±34.25 / 709.04 ms │     no change │
│ QQuery 18 │ 1272.76 / 1394.73 ±118.72 / 1544.10 ms │     1257.24 / 1289.34 ±26.99 / 1334.09 ms │ +1.08x faster │
│ QQuery 19 │        27.40 / 36.24 ±17.22 / 70.69 ms │            27.29 / 27.57 ±0.25 / 28.02 ms │ +1.31x faster │
│ QQuery 20 │      520.04 / 525.64 ±7.05 / 539.22 ms │         517.80 / 532.14 ±7.33 / 537.09 ms │     no change │
│ QQuery 21 │      511.61 / 524.23 ±9.36 / 540.56 ms │        521.05 / 533.31 ±10.44 / 546.88 ms │     no change │
│ QQuery 22 │    977.64 / 997.92 ±20.35 / 1031.60 ms │        987.09 / 993.70 ±7.43 / 1007.33 ms │     no change │
│ QQuery 23 │  3025.74 / 3109.12 ±45.07 / 3158.97 ms │     3048.11 / 3062.54 ±19.63 / 3100.11 ms │     no change │
│ QQuery 24 │         41.03 / 42.23 ±1.64 / 45.44 ms │           41.47 / 59.98 ±17.28 / 81.66 ms │  1.42x slower │
│ QQuery 25 │      110.66 / 113.71 ±5.17 / 124.00 ms │         111.66 / 112.44 ±0.86 / 114.01 ms │     no change │
│ QQuery 26 │         41.19 / 44.70 ±2.47 / 47.65 ms │            41.40 / 43.30 ±2.42 / 47.56 ms │     no change │
│ QQuery 27 │      512.46 / 517.09 ±3.48 / 522.92 ms │         517.50 / 529.92 ±9.56 / 541.48 ms │     no change │
│ QQuery 28 │   2914.53 / 2925.22 ±5.89 / 2932.34 ms │     2879.00 / 2906.68 ±15.06 / 2920.60 ms │     no change │
│ QQuery 29 │         41.26 / 42.43 ±0.85 / 43.62 ms │           41.11 / 58.57 ±20.38 / 96.33 ms │  1.38x slower │
│ QQuery 30 │      309.53 / 315.91 ±7.10 / 329.23 ms │         303.47 / 309.49 ±4.14 / 315.28 ms │     no change │
│ QQuery 31 │     283.73 / 301.54 ±17.63 / 334.43 ms │        278.50 / 299.04 ±22.67 / 336.72 ms │     no change │
│ QQuery 32 │    935.97 / 968.54 ±29.76 / 1014.82 ms │       917.12 / 966.51 ±53.34 / 1056.19 ms │     no change │
│ QQuery 33 │  1476.86 / 1495.15 ±17.44 / 1525.87 ms │     1433.85 / 1463.24 ±15.90 / 1481.27 ms │     no change │
│ QQuery 34 │  1495.62 / 1514.43 ±15.01 / 1540.01 ms │     1475.94 / 1499.90 ±25.20 / 1541.41 ms │     no change │
│ QQuery 35 │     286.36 / 306.86 ±18.56 / 336.24 ms │        284.06 / 319.77 ±39.98 / 397.81 ms │     no change │
│ QQuery 36 │         67.37 / 75.25 ±8.18 / 89.69 ms │            67.80 / 73.90 ±4.34 / 78.86 ms │     no change │
│ QQuery 37 │         35.99 / 38.76 ±2.62 / 42.73 ms │            35.52 / 38.41 ±4.36 / 47.08 ms │     no change │
│ QQuery 38 │         40.80 / 42.21 ±1.43 / 44.30 ms │            40.43 / 45.67 ±6.25 / 57.44 ms │  1.08x slower │
│ QQuery 39 │      145.23 / 151.02 ±3.93 / 157.25 ms │         139.85 / 147.53 ±5.51 / 153.94 ms │     no change │
│ QQuery 40 │         15.20 / 17.26 ±2.17 / 20.89 ms │            13.93 / 16.51 ±4.52 / 25.54 ms │     no change │
│ QQuery 41 │         13.91 / 14.42 ±0.43 / 15.22 ms │            13.67 / 15.57 ±3.40 / 22.37 ms │  1.08x slower │
│ QQuery 42 │         13.27 / 13.53 ±0.20 / 13.81 ms │            14.05 / 14.73 ±0.83 / 16.33 ms │  1.09x slower │
└───────────┴────────────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 19542.89ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 19452.86ms │
│ Average Time (HEAD)                                      │   454.49ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │   452.39ms │
│ Queries Faster                                           │          2 │
│ Queries Slower                                           │          7 │
│ Queries with No Change                                   │         34 │
│ Queries with Failure                                     │          0 │
└──────────────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 100.0s
Peak memory 12.2 GiB
Avg memory 4.4 GiB
CPU user 1002.2s
CPU sys 71.4s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 100.0s
Peak memory 11.4 GiB
Avg memory 4.3 GiB
CPU user 992.7s
CPU sys 70.5s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan

Copy link
Copy Markdown
Contributor Author

run benchmark tpch_mem

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5276345007-1577-p5vvj 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (900ca24) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch_mem

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)

Comparing perf/primitive-group-values-no-hash-cache (900ca24) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch_mem
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 perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_mem_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 22.94 ms │                                  22.86 ms │     no change │
│ QQuery 2  │  9.88 ms │                                  10.06 ms │     no change │
│ QQuery 3  │ 13.13 ms │                                  12.91 ms │     no change │
│ QQuery 4  │  8.03 ms │                                   7.93 ms │     no change │
│ QQuery 5  │ 19.22 ms │                                  19.76 ms │     no change │
│ QQuery 6  │  6.35 ms │                                   6.39 ms │     no change │
│ QQuery 7  │ 47.46 ms │                                  47.80 ms │     no change │
│ QQuery 8  │ 16.84 ms │                                  17.50 ms │     no change │
│ QQuery 9  │ 34.01 ms │                                  37.15 ms │  1.09x slower │
│ QQuery 10 │ 18.13 ms │                                  17.72 ms │     no change │
│ QQuery 11 │  6.14 ms │                                   6.35 ms │     no change │
│ QQuery 12 │ 15.00 ms │                                  15.02 ms │     no change │
│ QQuery 13 │ 12.65 ms │                                  12.85 ms │     no change │
│ QQuery 14 │  4.98 ms │                                   5.00 ms │     no change │
│ QQuery 15 │  9.58 ms │                                   9.15 ms │     no change │
│ QQuery 16 │  9.02 ms │                                   8.91 ms │     no change │
│ QQuery 17 │ 41.23 ms │                                  29.83 ms │ +1.38x faster │
│ QQuery 18 │ 53.63 ms │                                  54.14 ms │     no change │
│ QQuery 19 │ 12.67 ms │                                  12.68 ms │     no change │
│ QQuery 20 │ 13.62 ms │                                  13.51 ms │     no change │
│ QQuery 21 │ 87.26 ms │                                  87.40 ms │     no change │
│ QQuery 22 │  6.01 ms │                                   5.90 ms │     no change │
└───────────┴──────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 467.79ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 460.81ms │
│ Average Time (HEAD)                                      │  21.26ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  20.95ms │
│ Queries Faster                                           │        1 │
│ Queries Slower                                           │        1 │
│ Queries with No Change                                   │       20 │
│ Queries with Failure                                     │        0 │
└──────────────────────────────────────────────────────────┴──────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_mem_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 22.94 / 23.21 ±0.47 / 24.14 ms │            22.86 / 23.17 ±0.44 / 24.04 ms │     no change │
│ QQuery 2  │  9.88 / 10.30 ±0.31 / 10.75 ms │            10.06 / 10.41 ±0.37 / 11.11 ms │     no change │
│ QQuery 3  │ 13.13 / 13.25 ±0.07 / 13.35 ms │            12.91 / 13.17 ±0.14 / 13.30 ms │     no change │
│ QQuery 4  │    8.03 / 8.26 ±0.25 / 8.74 ms │               7.93 / 8.29 ±0.24 / 8.68 ms │     no change │
│ QQuery 5  │ 19.22 / 19.96 ±0.55 / 20.64 ms │            19.76 / 20.22 ±0.46 / 20.94 ms │     no change │
│ QQuery 6  │    6.35 / 6.46 ±0.08 / 6.58 ms │               6.39 / 6.48 ±0.10 / 6.67 ms │     no change │
│ QQuery 7  │ 47.46 / 51.77 ±2.94 / 56.59 ms │            47.80 / 49.76 ±1.79 / 53.09 ms │     no change │
│ QQuery 8  │ 16.84 / 17.30 ±0.25 / 17.62 ms │            17.50 / 17.56 ±0.07 / 17.68 ms │     no change │
│ QQuery 9  │ 34.01 / 37.98 ±4.94 / 47.45 ms │            37.15 / 40.01 ±1.57 / 41.50 ms │  1.05x slower │
│ QQuery 10 │ 18.13 / 18.56 ±0.41 / 19.11 ms │            17.72 / 18.41 ±0.59 / 19.26 ms │     no change │
│ QQuery 11 │    6.14 / 6.27 ±0.18 / 6.61 ms │               6.35 / 6.65 ±0.18 / 6.83 ms │  1.06x slower │
│ QQuery 12 │ 15.00 / 15.23 ±0.18 / 15.44 ms │            15.02 / 15.19 ±0.16 / 15.45 ms │     no change │
│ QQuery 13 │ 12.65 / 13.23 ±0.49 / 14.12 ms │            12.85 / 13.40 ±0.42 / 13.84 ms │     no change │
│ QQuery 14 │    4.98 / 5.08 ±0.15 / 5.38 ms │               5.00 / 5.14 ±0.14 / 5.31 ms │     no change │
│ QQuery 15 │    9.58 / 9.65 ±0.05 / 9.71 ms │               9.15 / 9.24 ±0.08 / 9.39 ms │     no change │
│ QQuery 16 │   9.02 / 9.92 ±1.63 / 13.17 ms │               8.91 / 8.96 ±0.05 / 9.03 ms │ +1.11x faster │
│ QQuery 17 │ 41.23 / 41.76 ±0.37 / 42.17 ms │            29.83 / 30.18 ±0.30 / 30.64 ms │ +1.38x faster │
│ QQuery 18 │ 53.63 / 55.00 ±1.55 / 57.95 ms │            54.14 / 56.23 ±2.69 / 61.52 ms │     no change │
│ QQuery 19 │ 12.67 / 14.31 ±3.12 / 20.56 ms │            12.68 / 12.78 ±0.06 / 12.87 ms │ +1.12x faster │
│ QQuery 20 │ 13.62 / 13.95 ±0.40 / 14.71 ms │            13.51 / 13.86 ±0.28 / 14.37 ms │     no change │
│ QQuery 21 │ 87.26 / 90.69 ±3.90 / 98.27 ms │            87.40 / 88.89 ±1.71 / 92.17 ms │     no change │
│ QQuery 22 │    6.01 / 6.21 ±0.18 / 6.46 ms │               5.90 / 6.05 ±0.21 / 6.46 ms │     no change │
└───────────┴────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 488.33ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 474.06ms │
│ Average Time (HEAD)                                      │  22.20ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  21.55ms │
│ Queries Faster                                           │        3 │
│ Queries Slower                                           │        2 │
│ Queries with No Change                                   │       17 │
│ Queries with Failure                                     │        0 │
└──────────────────────────────────────────────────────────┴──────────┘

Resource Usage

tpch_mem — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 3.9 GiB
Avg memory 1.5 GiB
CPU user 13.7s
CPU sys 0.3s
Peak spill 0 B

tpch_mem — branch

Metric Value
Wall time 5.0s
Peak memory 4.0 GiB
Avg memory 1.5 GiB
CPU user 13.0s
CPU sys 0.3s
Peak spill 0 B

File an issue against this benchmark runner

Tracking the range of a batch can itself rule the values out, which is
what happens on the first batch of a type that cannot be direct mapped at
all, such as a float group by key. `try_migrate_to_dense` was called
anyway and tripped its own debug assertion.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYz9cxwBdfZLvcKmWcoiF9
@Dandandan Dandandan changed the title perf: direct mapped group values for dense primitive group by keys perf: adaptive direct mapped group values for dense primitive group by keys Aug 13, 2026
@Dandandan

Copy link
Copy Markdown
Contributor Author

run benchmark vectorized_aggregation sql_aggregation

@Dandandan

Copy link
Copy Markdown
Contributor Author

run benchmark clickbench_extended

@Dandandan

Copy link
Copy Markdown
Contributor Author

run tpch10 tpch_mem10

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5277129914-1580-nq6kk 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (12d6df5) to ad977b0 (merge-base) diff

Run configuration
run benchmark clickbench_extended

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-c5277128243-1579-nfh8k 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (12d6df5) to ad977b0 (merge-base) diff

Run configuration
run benchmark sql_aggregation

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-c5277128243-1578-nmdrh 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (12d6df5) to ad977b0 (merge-base) diff

Run configuration
run benchmark vectorized_aggregation

Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

Benchmark for this request failed.

Run configuration
run benchmark sql_aggregation

Last 20 lines of output:

Click to expand
# Micro-Benchmarks (specific operators and features)
cancellation:           How long cancelling a query takes
nlj:                    Benchmark for simple nested loop joins, testing various join scenarios
hj:                     Benchmark for simple hash joins, testing various join scenarios
smj:                    Benchmark for simple sort merge joins, testing various join scenarios
dict:                   Benchmark for dictionary-encoded group-by scenarios
compile_profile:        Compile and execute TPC-H across selected Cargo profiles, reporting timing and binary size


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Supported Configuration (Environment Variables)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DATA_DIR            directory to store datasets
CARGO_COMMAND       command that runs the benchmark binary
DATAFUSION_DIR      directory to use (default /workspace/datafusion-base)
RESULTS_NAME        folder where the benchmark files are stored
PREFER_HASH_JOIN    Prefer hash join algorithm (default true)
SIMULATE_LATENCY    Simulate object store latency to mimic S3 (default false)
DATAFUSION_*        Set the given datafusion configuration


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

Benchmark for this request failed.

Run configuration
run benchmark vectorized_aggregation

Last 20 lines of output:

Click to expand
# Micro-Benchmarks (specific operators and features)
cancellation:           How long cancelling a query takes
nlj:                    Benchmark for simple nested loop joins, testing various join scenarios
hj:                     Benchmark for simple hash joins, testing various join scenarios
smj:                    Benchmark for simple sort merge joins, testing various join scenarios
dict:                   Benchmark for dictionary-encoded group-by scenarios
compile_profile:        Compile and execute TPC-H across selected Cargo profiles, reporting timing and binary size


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Supported Configuration (Environment Variables)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DATA_DIR            directory to store datasets
CARGO_COMMAND       command that runs the benchmark binary
DATAFUSION_DIR      directory to use (default /workspace/datafusion-base)
RESULTS_NAME        folder where the benchmark files are stored
PREFER_HASH_JOIN    Prefer hash join algorithm (default true)
SIMULATE_LATENCY    Simulate object store latency to mimic S3 (default false)
DATAFUSION_*        Set the given datafusion configuration


File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

Comparing perf/primitive-group-values-no-hash-cache (12d6df5) to ad977b0 (merge-base) diff

Run configuration
run benchmark clickbench_extended
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 perf_primitive-group-values-no-hash-cache
--------------------
Benchmark clickbench_extended.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃        HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │   768.97 ms │                                 765.94 ms │     no change │
│ QQuery 1  │   184.33 ms │                                 186.65 ms │     no change │
│ QQuery 2  │   450.19 ms │                                 447.51 ms │     no change │
│ QQuery 3  │   312.83 ms │                                 314.51 ms │     no change │
│ QQuery 4  │  1126.46 ms │                                1140.11 ms │     no change │
│ QQuery 5  │ 12073.21 ms │                               11321.34 ms │ +1.07x faster │
│ QQuery 6  │     2.61 ms │                                   2.56 ms │     no change │
│ QQuery 7  │   690.18 ms │                                 779.91 ms │  1.13x slower │
│ QQuery 8  │   419.75 ms │                                 410.13 ms │     no change │
│ QQuery 9  │  2973.87 ms │                                3199.41 ms │  1.08x slower │
│ QQuery 10 │   633.24 ms │                                 632.42 ms │     no change │
│ QQuery 11 │  2190.00 ms │                                2243.60 ms │     no change │
│ QQuery 12 │   205.56 ms │                                 192.97 ms │ +1.07x faster │
│ QQuery 13 │   557.88 ms │                                 557.31 ms │     no change │
└───────────┴─────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 22589.08ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 22194.36ms │
│ Average Time (HEAD)                                      │  1613.51ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  1585.31ms │
│ Queries Faster                                           │          2 │
│ Queries Slower                                           │          2 │
│ Queries with No Change                                   │         10 │
│ Queries with Failure                                     │          0 │
└──────────────────────────────────────────────────────────┴────────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and perf_primitive-group-values-no-hash-cache
--------------------
Benchmark clickbench_extended.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                      HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │        768.97 / 820.36 ±88.33 / 996.58 ms │        765.94 / 821.80 ±84.85 / 989.38 ms │     no change │
│ QQuery 1  │         184.33 / 185.28 ±0.72 / 186.53 ms │         186.65 / 187.15 ±0.37 / 187.76 ms │     no change │
│ QQuery 2  │         450.19 / 453.70 ±3.64 / 460.70 ms │         447.51 / 456.67 ±5.59 / 464.09 ms │     no change │
│ QQuery 3  │         312.83 / 314.60 ±1.70 / 317.33 ms │         314.51 / 317.25 ±1.93 / 320.01 ms │     no change │
│ QQuery 4  │     1126.46 / 1152.44 ±17.25 / 1175.19 ms │     1140.11 / 1164.98 ±19.72 / 1199.84 ms │     no change │
│ QQuery 5  │ 12073.21 / 12419.87 ±470.40 / 13350.25 ms │ 11321.34 / 12312.11 ±529.32 / 12777.35 ms │     no change │
│ QQuery 6  │               2.61 / 2.82 ±0.28 / 3.38 ms │               2.56 / 2.84 ±0.33 / 3.47 ms │     no change │
│ QQuery 7  │        690.18 / 762.66 ±52.19 / 837.56 ms │        779.91 / 861.67 ±53.02 / 923.75 ms │  1.13x slower │
│ QQuery 8  │         419.75 / 428.64 ±7.26 / 437.29 ms │        410.13 / 439.13 ±40.13 / 517.62 ms │     no change │
│ QQuery 9  │     2973.87 / 3026.64 ±45.84 / 3106.04 ms │     3199.41 / 3284.07 ±89.27 / 3442.89 ms │  1.09x slower │
│ QQuery 10 │        633.24 / 657.54 ±27.65 / 710.34 ms │        632.42 / 648.84 ±28.82 / 706.35 ms │     no change │
│ QQuery 11 │    2190.00 / 2319.53 ±122.43 / 2506.01 ms │     2243.60 / 2319.47 ±79.41 / 2454.58 ms │     no change │
│ QQuery 12 │        205.56 / 219.45 ±14.27 / 237.20 ms │         192.97 / 198.14 ±6.04 / 208.41 ms │ +1.11x faster │
│ QQuery 13 │        557.88 / 575.63 ±17.94 / 606.36 ms │        557.31 / 581.34 ±15.36 / 604.91 ms │     no change │
└───────────┴───────────────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 23339.17ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 23595.46ms │
│ Average Time (HEAD)                                      │  1667.08ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  1685.39ms │
│ Queries Faster                                           │          1 │
│ Queries Slower                                           │          2 │
│ Queries with No Change                                   │         11 │
│ Queries with Failure                                     │          0 │
└──────────────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_extended — base (merge-base)

Metric Value
Wall time 120.0s
Peak memory 11.7 GiB
Avg memory 5.1 GiB
CPU user 1064.7s
CPU sys 48.4s
Peak spill 0 B

clickbench_extended — branch

Metric Value
Wall time 120.0s
Peak memory 11.8 GiB
Avg memory 5.2 GiB
CPU user 1083.5s
CPU sys 49.4s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan

Copy link
Copy Markdown
Contributor Author

run benchmark tpch10 tpch_mem10

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5277978436-1582-bqj66 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (12d6df5) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch10

Results will be posted here when complete


File an issue against this benchmark runner

Review cleanups, no intended change in behaviour beyond the two fixes
noted below:

- Whether a type can be direct mapped is a compile time fact, so it is an
  associated const rather than a per value `Option`. Non integer types are
  now ruled out when the group values are created instead of by scanning a
  batch, which supersedes the earlier fix for float keys.
- The range is tracked as the groups are created while hashing rather than
  by a second pass over every batch. The range of all the values equals the
  range of the distinct ones, so this is the same range for O(new groups)
  instead of O(rows), and removes the ~5% cost this used to add to columns
  that never become dense.
- Slot lookup casts straight to `u64`: the bias cancels in the wrapping
  subtraction, so it only obscured that the join side maps keys the same
  way (see `ArrayMap`).
- Growing and building the table were the same decision procedure twice;
  they are one function taking the range to cover.
- `EmitTo::First` walks the groups rather than the slots, of which there
  can be many more.

Fixes: values found not to be dense no longer keep hashing after the
groups are drained, which matters because a stream is reused across spill
cycles and the post spill keys arrive sorted. Slack added to a table is
also part of the range it records, so groups created in that slack are
still placed when the table is later rebuilt.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYz9cxwBdfZLvcKmWcoiF9
@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5277978436-1583-gv4xd 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (2138753) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch_mem10

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)

Comparing perf/primitive-group-values-no-hash-cache (12d6df5) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch10
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 perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_sf10.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃      HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 308.57 ms │                                 307.10 ms │     no change │
│ QQuery 2  │ 101.97 ms │                                 105.18 ms │     no change │
│ QQuery 3  │ 232.49 ms │                                 250.43 ms │  1.08x slower │
│ QQuery 4  │ 111.43 ms │                                 119.51 ms │  1.07x slower │
│ QQuery 5  │ 349.23 ms │                                 342.36 ms │     no change │
│ QQuery 6  │ 122.15 ms │                                 121.51 ms │     no change │
│ QQuery 7  │ 502.20 ms │                                 473.66 ms │ +1.06x faster │
│ QQuery 8  │ 370.59 ms │                                 364.90 ms │     no change │
│ QQuery 9  │ 545.02 ms │                                 546.32 ms │     no change │
│ QQuery 10 │ 291.61 ms │                                 291.35 ms │     no change │
│ QQuery 11 │  87.57 ms │                                  83.85 ms │     no change │
│ QQuery 12 │ 174.89 ms │                                 173.78 ms │     no change │
│ QQuery 13 │ 296.26 ms │                                 291.62 ms │     no change │
│ QQuery 14 │ 167.80 ms │                                 179.43 ms │  1.07x slower │
│ QQuery 15 │ 297.11 ms │                                 307.94 ms │     no change │
│ QQuery 16 │  65.75 ms │                                  70.67 ms │  1.07x slower │
│ QQuery 17 │ 604.88 ms │                                 740.40 ms │  1.22x slower │
│ QQuery 18 │ 678.83 ms │                                 684.63 ms │     no change │
│ QQuery 19 │ 241.08 ms │                                 237.38 ms │     no change │
│ QQuery 20 │ 268.29 ms │                                 266.37 ms │     no change │
│ QQuery 21 │ 652.94 ms │                                 654.26 ms │     no change │
│ QQuery 22 │  58.76 ms │                                  62.71 ms │  1.07x slower │
└───────────┴───────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 6529.42ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 6675.34ms │
│ Average Time (HEAD)                                      │  296.79ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  303.42ms │
│ Queries Faster                                           │         1 │
│ Queries Slower                                           │         6 │
│ Queries with No Change                                   │        15 │
│ Queries with Failure                                     │         0 │
└──────────────────────────────────────────────────────────┴───────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_sf10.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                               HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │  308.57 / 314.45 ±4.83 / 321.36 ms │         307.10 / 307.87 ±0.50 / 308.44 ms │     no change │
│ QQuery 2  │  101.97 / 106.07 ±2.50 / 109.17 ms │         105.18 / 109.43 ±3.55 / 115.58 ms │     no change │
│ QQuery 3  │  232.49 / 237.48 ±4.07 / 243.68 ms │         250.43 / 253.80 ±2.59 / 257.21 ms │  1.07x slower │
│ QQuery 4  │  111.43 / 113.73 ±1.23 / 114.77 ms │         119.51 / 123.50 ±3.77 / 130.11 ms │  1.09x slower │
│ QQuery 5  │  349.23 / 359.10 ±6.62 / 366.93 ms │        342.36 / 365.86 ±15.89 / 390.35 ms │     no change │
│ QQuery 6  │  122.15 / 125.48 ±5.76 / 136.99 ms │         121.51 / 123.41 ±3.35 / 130.09 ms │     no change │
│ QQuery 7  │ 502.20 / 539.83 ±23.65 / 575.60 ms │         473.66 / 476.75 ±3.01 / 481.85 ms │ +1.13x faster │
│ QQuery 8  │  370.59 / 380.64 ±9.46 / 398.14 ms │        364.90 / 375.98 ±10.98 / 396.72 ms │     no change │
│ QQuery 9  │ 545.02 / 557.95 ±11.79 / 576.13 ms │         546.32 / 556.08 ±6.89 / 567.44 ms │     no change │
│ QQuery 10 │ 291.61 / 313.94 ±18.14 / 336.95 ms │        291.35 / 302.08 ±11.75 / 324.69 ms │     no change │
│ QQuery 11 │    87.57 / 93.02 ±4.94 / 101.14 ms │            83.85 / 88.90 ±4.17 / 95.05 ms │     no change │
│ QQuery 12 │ 174.89 / 186.42 ±10.75 / 206.36 ms │         173.78 / 180.88 ±8.46 / 197.00 ms │     no change │
│ QQuery 13 │  296.26 / 307.11 ±6.05 / 312.76 ms │        291.62 / 304.84 ±12.30 / 327.11 ms │     no change │
│ QQuery 14 │  167.80 / 174.54 ±6.06 / 181.90 ms │         179.43 / 186.61 ±6.49 / 195.04 ms │  1.07x slower │
│ QQuery 15 │  297.11 / 303.31 ±7.65 / 316.88 ms │         307.94 / 308.81 ±1.24 / 311.26 ms │     no change │
│ QQuery 16 │     65.75 / 69.04 ±3.39 / 75.57 ms │            70.67 / 74.45 ±4.78 / 83.70 ms │  1.08x slower │
│ QQuery 17 │ 604.88 / 645.65 ±52.51 / 746.25 ms │         740.40 / 747.00 ±7.89 / 760.13 ms │  1.16x slower │
│ QQuery 18 │ 678.83 / 692.88 ±17.21 / 725.21 ms │        684.63 / 740.33 ±51.53 / 824.72 ms │  1.07x slower │
│ QQuery 19 │ 241.08 / 258.57 ±23.87 / 303.82 ms │        237.38 / 254.66 ±25.89 / 305.08 ms │     no change │
│ QQuery 20 │ 268.29 / 285.60 ±14.25 / 303.28 ms │        266.37 / 280.21 ±13.60 / 304.04 ms │     no change │
│ QQuery 21 │  652.94 / 661.18 ±6.81 / 670.60 ms │        654.26 / 694.69 ±39.52 / 753.15 ms │  1.05x slower │
│ QQuery 22 │     58.76 / 62.57 ±3.42 / 67.22 ms │            62.71 / 65.43 ±3.90 / 73.08 ms │     no change │
└───────────┴────────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 6788.56ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 6921.57ms │
│ Average Time (HEAD)                                      │  308.57ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  314.62ms │
│ Queries Faster                                           │         1 │
│ Queries Slower                                           │         7 │
│ Queries with No Change                                   │        14 │
│ Queries with Failure                                     │         0 │
└──────────────────────────────────────────────────────────┴───────────┘

Resource Usage

tpch10 — base (merge-base)

Metric Value
Wall time 35.0s
Peak memory 5.1 GiB
Avg memory 1.6 GiB
CPU user 342.8s
CPU sys 19.6s
Peak spill 0 B

tpch10 — branch

Metric Value
Wall time 35.0s
Peak memory 4.9 GiB
Avg memory 1.5 GiB
CPU user 345.6s
CPU sys 19.9s
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)

Comparing perf/primitive-group-values-no-hash-cache (2138753) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch_mem10
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 perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_mem_sf10.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ perf_primitive-group-values-no-hash-cache ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │  205.07 ms │                                 209.40 ms │ no change │
│ QQuery 2  │   49.81 ms │                                  51.31 ms │ no change │
│ QQuery 3  │  103.32 ms │                                 105.61 ms │ no change │
│ QQuery 4  │   69.56 ms │                                  70.93 ms │ no change │
│ QQuery 5  │  195.75 ms │                                 195.86 ms │ no change │
│ QQuery 6  │   57.25 ms │                                  57.32 ms │ no change │
│ QQuery 7  │  408.48 ms │                                 402.07 ms │ no change │
│ QQuery 8  │  147.11 ms │                                 148.39 ms │ no change │
│ QQuery 9  │  334.53 ms │                                 336.47 ms │ no change │
│ QQuery 10 │  149.83 ms │                                 149.60 ms │ no change │
│ QQuery 11 │   38.82 ms │                                  39.92 ms │ no change │
│ QQuery 12 │  129.04 ms │                                 129.72 ms │ no change │
│ QQuery 13 │  162.97 ms │                                 165.68 ms │ no change │
│ QQuery 14 │   33.42 ms │                                  33.68 ms │ no change │
│ QQuery 15 │   72.54 ms │                                  72.43 ms │ no change │
│ QQuery 16 │   43.03 ms │                                  42.71 ms │ no change │
│ QQuery 17 │  405.05 ms │                                 398.96 ms │ no change │
│ QQuery 18 │  777.09 ms │                                 769.81 ms │ no change │
│ QQuery 19 │  100.53 ms │                                  99.40 ms │ no change │
│ QQuery 20 │  114.10 ms │                                 114.33 ms │ no change │
│ QQuery 21 │ 1421.25 ms │                                1379.08 ms │ no change │
│ QQuery 22 │   26.21 ms │                                  25.91 ms │ no change │
└───────────┴────────────┴───────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 5044.76ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 4998.58ms │
│ Average Time (HEAD)                                      │  229.31ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  227.21ms │
│ Queries Faster                                           │         0 │
│ Queries Slower                                           │         0 │
│ Queries with No Change                                   │        22 │
│ Queries with Failure                                     │         0 │
└──────────────────────────────────────────────────────────┴───────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_mem_sf10.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │     205.07 / 207.34 ±1.66 / 209.14 ms │         209.40 / 211.53 ±1.47 / 213.39 ms │     no change │
│ QQuery 2  │        49.81 / 51.60 ±1.56 / 54.43 ms │            51.31 / 52.98 ±1.32 / 55.20 ms │     no change │
│ QQuery 3  │     103.32 / 104.91 ±1.33 / 106.52 ms │         105.61 / 107.72 ±1.82 / 110.25 ms │     no change │
│ QQuery 4  │        69.56 / 71.49 ±2.05 / 75.09 ms │            70.93 / 73.60 ±1.96 / 76.60 ms │     no change │
│ QQuery 5  │     195.75 / 197.63 ±1.66 / 200.25 ms │         195.86 / 197.31 ±1.45 / 199.88 ms │     no change │
│ QQuery 6  │        57.25 / 57.57 ±0.30 / 58.10 ms │            57.32 / 57.90 ±0.42 / 58.40 ms │     no change │
│ QQuery 7  │     408.48 / 414.97 ±5.77 / 425.14 ms │         402.07 / 412.41 ±6.47 / 421.98 ms │     no change │
│ QQuery 8  │     147.11 / 154.54 ±9.04 / 172.31 ms │         148.39 / 154.25 ±7.68 / 168.82 ms │     no change │
│ QQuery 9  │     334.53 / 341.61 ±8.66 / 358.55 ms │         336.47 / 342.92 ±7.21 / 353.19 ms │     no change │
│ QQuery 10 │     149.83 / 157.23 ±7.56 / 171.17 ms │         149.60 / 153.60 ±3.10 / 157.12 ms │     no change │
│ QQuery 11 │        38.82 / 39.67 ±0.62 / 40.74 ms │            39.92 / 40.62 ±0.56 / 41.62 ms │     no change │
│ QQuery 12 │     129.04 / 134.62 ±4.07 / 139.73 ms │         129.72 / 137.02 ±6.96 / 149.83 ms │     no change │
│ QQuery 13 │     162.97 / 167.91 ±4.72 / 173.72 ms │        165.68 / 173.29 ±12.02 / 197.19 ms │     no change │
│ QQuery 14 │        33.42 / 35.05 ±1.02 / 36.36 ms │            33.68 / 34.54 ±0.89 / 36.10 ms │     no change │
│ QQuery 15 │        72.54 / 73.87 ±1.42 / 75.87 ms │            72.43 / 74.29 ±2.02 / 78.14 ms │     no change │
│ QQuery 16 │        43.03 / 46.40 ±4.93 / 56.06 ms │            42.71 / 44.55 ±2.32 / 49.07 ms │     no change │
│ QQuery 17 │    405.05 / 436.43 ±38.04 / 499.52 ms │         398.96 / 405.21 ±5.79 / 415.74 ms │ +1.08x faster │
│ QQuery 18 │    777.09 / 823.19 ±35.97 / 880.15 ms │        769.81 / 804.59 ±25.11 / 830.76 ms │     no change │
│ QQuery 19 │    100.53 / 114.64 ±24.91 / 164.39 ms │         99.40 / 112.18 ±16.84 / 142.78 ms │     no change │
│ QQuery 20 │     114.10 / 120.40 ±7.86 / 133.65 ms │         114.33 / 120.29 ±4.61 / 126.49 ms │     no change │
│ QQuery 21 │ 1421.25 / 1533.51 ±62.44 / 1602.27 ms │     1379.08 / 1465.75 ±80.61 / 1608.72 ms │     no change │
│ QQuery 22 │        26.21 / 26.99 ±0.48 / 27.57 ms │            25.91 / 31.41 ±9.88 / 51.16 ms │  1.16x slower │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 5311.56ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 5207.97ms │
│ Average Time (HEAD)                                      │  241.43ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  236.73ms │
│ Queries Faster                                           │         1 │
│ Queries Slower                                           │         1 │
│ Queries with No Change                                   │        20 │
│ Queries with Failure                                     │         0 │
└──────────────────────────────────────────────────────────┴───────────┘

Resource Usage

tpch_mem10 — base (merge-base)

Metric Value
Wall time 40.0s
Peak memory 41.9 GiB
Avg memory 24.6 GiB
CPU user 210.2s
CPU sys 8.0s
Peak spill 0 B

tpch_mem10 — branch

Metric Value
Wall time 40.0s
Peak memory 42.2 GiB
Avg memory 24.1 GiB
CPU user 208.2s
CPU sys 7.1s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan

Copy link
Copy Markdown
Contributor Author

run benchmarks

@Dandandan

Copy link
Copy Markdown
Contributor Author

run benchmark tpch_mem

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c5278776943-1586-v849z 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (2138753) to ad977b0 (merge-base) diff

Run configuration
run benchmark 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-c5278777956-1587-ddpbm 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (2138753) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch_mem

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-c5278776943-1584-gtw96 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (2138753) to ad977b0 (merge-base) diff

Run configuration
run benchmark clickbench_partitioned

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-c5278776943-1585-l7md6 6.12.85+ #1 SMP Wed Jun 17 20:31:55 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 perf/primitive-group-values-no-hash-cache (2138753) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpcds

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)

Comparing perf/primitive-group-values-no-hash-cache (2138753) to ad977b0 (merge-base) diff

Run configuration
run benchmark tpch
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 perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 40.15 ms │                                  38.06 ms │ +1.05x faster │
│ QQuery 2  │ 20.62 ms │                                  18.97 ms │ +1.09x faster │
│ QQuery 3  │ 33.54 ms │                                  33.38 ms │     no change │
│ QQuery 4  │ 18.43 ms │                                  17.14 ms │ +1.08x faster │
│ QQuery 5  │ 43.66 ms │                                  39.52 ms │ +1.10x faster │
│ QQuery 6  │ 17.03 ms │                                  15.94 ms │ +1.07x faster │
│ QQuery 7  │ 47.72 ms │                                  42.79 ms │ +1.12x faster │
│ QQuery 8  │ 44.79 ms │                                  42.21 ms │ +1.06x faster │
│ QQuery 9  │ 53.39 ms │                                  49.32 ms │ +1.08x faster │
│ QQuery 10 │ 45.43 ms │                                  41.73 ms │ +1.09x faster │
│ QQuery 11 │ 14.67 ms │                                  13.39 ms │ +1.10x faster │
│ QQuery 12 │ 25.08 ms │                                  23.89 ms │     no change │
│ QQuery 13 │ 34.87 ms │                                  31.64 ms │ +1.10x faster │
│ QQuery 14 │ 24.73 ms │                                  22.90 ms │ +1.08x faster │
│ QQuery 15 │ 33.18 ms │                                  30.76 ms │ +1.08x faster │
│ QQuery 16 │ 14.62 ms │                                  13.85 ms │ +1.06x faster │
│ QQuery 17 │ 69.70 ms │                                  60.99 ms │ +1.14x faster │
│ QQuery 18 │ 58.08 ms │                                  54.27 ms │ +1.07x faster │
│ QQuery 19 │ 32.53 ms │                                  32.62 ms │     no change │
│ QQuery 20 │ 32.57 ms │                                  31.45 ms │     no change │
│ QQuery 21 │ 56.10 ms │                                  55.21 ms │     no change │
│ QQuery 22 │ 13.58 ms │                                  13.87 ms │     no change │
└───────────┴──────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 774.48ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 723.88ms │
│ Average Time (HEAD)                                      │  35.20ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  32.90ms │
│ Queries Faster                                           │       16 │
│ Queries Slower                                           │        0 │
│ Queries with No Change                                   │        6 │
│ Queries with Failure                                     │        0 │
└──────────────────────────────────────────────────────────┴──────────┘

Distribution per query (min / mean ±stddev / max):

Comparing HEAD and perf_primitive-group-values-no-hash-cache
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ perf_primitive-group-values-no-hash-cache ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │ 40.15 / 41.01 ±1.14 / 43.19 ms │            38.06 / 39.30 ±1.19 / 40.93 ms │     no change │
│ QQuery 2  │ 20.62 / 20.84 ±0.26 / 21.34 ms │            18.97 / 19.44 ±0.26 / 19.69 ms │ +1.07x faster │
│ QQuery 3  │ 33.54 / 35.30 ±0.89 / 35.84 ms │            33.38 / 34.13 ±0.50 / 34.77 ms │     no change │
│ QQuery 4  │ 18.43 / 18.67 ±0.19 / 18.96 ms │            17.14 / 17.56 ±0.40 / 18.31 ms │ +1.06x faster │
│ QQuery 5  │ 43.66 / 45.69 ±1.51 / 47.72 ms │            39.52 / 40.43 ±0.64 / 41.43 ms │ +1.13x faster │
│ QQuery 6  │ 17.03 / 17.68 ±1.13 / 19.94 ms │            15.94 / 16.04 ±0.09 / 16.18 ms │ +1.10x faster │
│ QQuery 7  │ 47.72 / 49.84 ±3.74 / 57.31 ms │            42.79 / 46.52 ±1.89 / 47.79 ms │ +1.07x faster │
│ QQuery 8  │ 44.79 / 45.44 ±0.50 / 46.16 ms │            42.21 / 42.45 ±0.19 / 42.71 ms │ +1.07x faster │
│ QQuery 9  │ 53.39 / 54.53 ±1.17 / 56.55 ms │            49.32 / 49.89 ±0.33 / 50.32 ms │ +1.09x faster │
│ QQuery 10 │ 45.43 / 47.43 ±2.61 / 52.54 ms │            41.73 / 42.05 ±0.20 / 42.31 ms │ +1.13x faster │
│ QQuery 11 │ 14.67 / 14.79 ±0.11 / 14.94 ms │            13.39 / 13.81 ±0.46 / 14.65 ms │ +1.07x faster │
│ QQuery 12 │ 25.08 / 25.96 ±0.91 / 27.60 ms │            23.89 / 24.21 ±0.18 / 24.39 ms │ +1.07x faster │
│ QQuery 13 │ 34.87 / 36.79 ±1.38 / 38.22 ms │            31.64 / 34.39 ±1.67 / 36.02 ms │ +1.07x faster │
│ QQuery 14 │ 24.73 / 25.36 ±0.46 / 26.04 ms │            22.90 / 23.19 ±0.25 / 23.53 ms │ +1.09x faster │
│ QQuery 15 │ 33.18 / 34.11 ±0.97 / 35.68 ms │            30.76 / 31.46 ±0.78 / 32.80 ms │ +1.08x faster │
│ QQuery 16 │ 14.62 / 15.02 ±0.22 / 15.26 ms │            13.85 / 14.14 ±0.26 / 14.52 ms │ +1.06x faster │
│ QQuery 17 │ 69.70 / 73.09 ±3.30 / 79.05 ms │            60.99 / 61.89 ±0.62 / 62.48 ms │ +1.18x faster │
│ QQuery 18 │ 58.08 / 59.30 ±1.07 / 61.31 ms │            54.27 / 55.61 ±1.19 / 57.40 ms │ +1.07x faster │
│ QQuery 19 │ 32.53 / 33.07 ±0.39 / 33.54 ms │            32.62 / 33.51 ±1.02 / 35.41 ms │     no change │
│ QQuery 20 │ 32.57 / 33.02 ±0.30 / 33.52 ms │            31.45 / 31.70 ±0.21 / 32.04 ms │     no change │
│ QQuery 21 │ 56.10 / 58.15 ±2.12 / 61.95 ms │            55.21 / 57.10 ±1.13 / 58.33 ms │     no change │
│ QQuery 22 │ 13.58 / 13.76 ±0.15 / 14.03 ms │            13.87 / 14.08 ±0.18 / 14.41 ms │     no change │
└───────────┴────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 798.86ms │
│ Total Time (perf_primitive-group-values-no-hash-cache)   │ 742.90ms │
│ Average Time (HEAD)                                      │  36.31ms │
│ Average Time (perf_primitive-group-values-no-hash-cache) │  33.77ms │
│ Queries Faster                                           │       16 │
│ Queries Slower                                           │        0 │
│ Queries with No Change                                   │        6 │
│ Queries with Failure                                     │        0 │
└──────────────────────────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

Metric Value
Wall time 5.0s
Peak memory 1.1 GiB
Avg memory 692.1 MiB
CPU user 23.0s
CPU sys 2.0s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 1.2 GiB
Avg memory 535.0 MiB
CPU user 21.0s
CPU sys 1.6s
Peak spill 0 B

File an issue against this benchmark runner

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.

2 participants