Skip to content

perf: skip functional dependency work when inputs carry none - #25655

Merged
adriangb merged 24 commits into
apache:mainfrom
dwsmith1983:perf/projection-func-deps-early-return
Oct 3, 2026
Merged

adriangb merged 24 commits into
apache:mainfrom
dwsmith1983:perf/projection-func-deps-early-return

Conversation

@dwsmith1983

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Every time a Projection is built, DataFusion resolves each projection expression back to an input column so it can project the input's functional dependencies. That resolution formats every expression to a string, allocates every input field name, and scans the names linearly per expression. When the input has no functional dependencies, which is the default for every table provider, the result is thrown away. On wide schemas this dominates planning: for SELECT * FROM t1000 it is about a million string comparisons per projection rebuild, and projections are rebuilt several times per query.

What changes are included in this PR?

  • calc_func_dependencies_for_project returns an empty set immediately when the input schema has no functional dependencies, and otherwise resolves names through a hash map built once (first index wins, matching the previous linear scan).
  • aggregate_functional_dependencies skips its per-dependence loop when the input carries none. The block that reports the GROUP BY output as a Single dependency still runs, so grouped plans keep that dependency.
  • add_group_by_exprs_from_dependencies returns the group expressions untouched when the schema has no dependencies, without formatting their names.

Planning benchmarks (sql_planner), interleaved against the base commit, noise floor about 2%:

benchmark change
logical_select_all_from_1000 -25%
physical_select_all_from_1000 -12%
physical_plan_clickbench_all -7%
logical_wide_aggregate_100_exprs -3%
TPC-H planning unchanged

What is the testing strategy for this PR?

Behavior is pinned by new unit tests in datafusion/expr: projection_with_alias_preserves_pk, projection_over_unconstrained_table_has_no_dependencies, projection_duplicate_flattened_name_uses_first_input_index, aggregate_group_by_on_primary_key_reports_single_dependency, aggregate_group_by_without_constraints_still_reports_single_dependency, and plan_builder_aggregate_with_implicit_group_by_exprs_no_constraints. The functional_dependencies and group_by sqllogictest files pass unchanged.

Are there any user-facing changes?

No.

Most projections and aggregates sit on inputs with no primary key or
unique constraint, so their functional dependency set is empty. The
projection, aggregate, and GROUP BY paths now check that up front and
return early instead of resolving every expression against the input
fields. Projection lookups also move from a linear scan over field
names to a hash map built once, so a real constraint still resolves
correctly without rescanning per expression. The aggregate path only
drops the per-dependence loop, so the GROUP BY dependency is still
produced when one exists.

Measured on an interleaved run against the base commit, noise floor
about two percent: logical_select_all_from_1000 -25%,
physical_select_all_from_1000 -12%, physical_plan_clickbench_all -7%,
logical_wide_aggregate_100_exprs -3%. TPC-H planning unchanged.
@github-actions github-actions Bot added logical-expr Logical plan and expressions common Related to common crate labels Sep 23, 2026
@codecov-commenter

codecov-commenter commented Sep 29, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.89809% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.64%. Comparing base (95a1961) to head (e964336).

Files with missing lines Patch % Lines
datafusion/expr/src/logical_plan/plan.rs 84.53% 2 Missing and 13 partials ⚠️
datafusion/expr/src/logical_plan/builder.rs 83.33% 0 Missing and 3 partials ⚠️
datafusion/common/src/functional_dependencies.rs 97.61% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25655      +/-   ##
==========================================
- Coverage   82.64%   82.64%   -0.01%     
==========================================
  Files        1147     1147              
  Lines      445502   445602     +100     
  Branches   445502   445602     +100     
==========================================
+ Hits       368179   368247      +68     
- Misses      54969    54979      +10     
- Partials    22354    22376      +22     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dwsmith1983

Copy link
Copy Markdown
Contributor Author

@adriangb @emilk could you take a look when you have time? It skips the functional dependency work when a projection's input has none, which is the default for every table provider. logical_select_all_from_1000 planning drops 25%, and TPC-H planning is unchanged.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The optimizations preserve existing semantics and are covered by focused regression tests.

Review effort: Balanced
Findings: None

What changed in this PR

Optimizes functional-dependency handling during logical planning by avoiding unnecessary expression formatting and dependency resolution.

Changes:

  • Short-circuits projection and GROUP BY processing when inputs have no dependencies.
  • Uses a hash map for projection field lookup.
  • Adds regression tests preserving existing dependency semantics.
File Description
datafusion/​expr/​src/​logical_plan/​plan.rs Optimizes projection dependency lookup and adds regression tests.
datafusion/​expr/​src/​logical_plan/​builder.rs Skips unnecessary implicit GROUP BY expansion work.
datafusion/​common/​src/​functional_dependencies.rs Avoids aggregate dependency processing for unconstrained inputs.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@adriangb

adriangb commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

run benchmarks

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highcpu-48 (12 vCPU / 65 GiB) | Linux bench-c5956795589-3030-z4hdp 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  48
On-line CPU(s) list:                     0-47
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     48
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:                               3 MiB (48 instances)
L1i cache:                               3 MiB (48 instances)
L2 cache:                                96 MiB (48 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-47
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/projection-func-deps-early-return (e773326) to c922f88 (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-highcpu-48 (12 vCPU / 65 GiB) | Linux bench-c5956795589-3032-2zbsb 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  48
On-line CPU(s) list:                     0-47
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     48
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:                               3 MiB (48 instances)
L1i cache:                               3 MiB (48 instances)
L2 cache:                                96 MiB (48 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-47
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/projection-func-deps-early-return (e773326) to c922f88 (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-highcpu-48 (12 vCPU / 65 GiB) | Linux bench-c5956795589-3031-cr97q 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  48
On-line CPU(s) list:                     0-47
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     48
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:                               3 MiB (48 instances)
L1i cache:                               3 MiB (48 instances)
L2 cache:                                96 MiB (48 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-47
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/projection-func-deps-early-return (e773326) to c922f88 (merge-base) diff

Run configuration
run benchmark tpcds

Results will be posted here when complete


File an issue against this benchmark runner

@adriangb adriangb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for this, the planning gains are good! I have only small asks.

Comment on lines +466 to +471
// If the input carries no functional dependencies, the loop below can
// never turn one into an aggregate dependency (it only re-expresses
// dependencies that already exist on the input), so skip building the
// input field names and resolving target indices for it entirely. The
// GROUP BY-key dependency added after this block does not depend on the
// input's functional dependencies, so it still runs unconditionally.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Small nit: can we make this comment shorter?

Suggested change
// If the input carries no functional dependencies, the loop below can
// never turn one into an aggregate dependency (it only re-expresses
// dependencies that already exist on the input), so skip building the
// input field names and resolving target indices for it entirely. The
// GROUP BY-key dependency added after this block does not depend on the
// input's functional dependencies, so it still runs unconditionally.
// The loop below only re-expresses input dependencies. Skip it when the
// input has none. The GROUP BY-key dependency below always runs.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Applied in 7cfb210.

Comment on lines +474 to +475
// Loop-invariant: does not depend on the per-dependence loop
// variables, so compute it once instead of on every iteration.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Loop-invariant: does not depend on the per-dependence loop
// variables, so compute it once instead of on every iteration.
// Compute once: this does not change in the loop.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Applied in 7cfb210.

)
.with_mode(mode)
.with_null_equality(output_null_equality),
// Keep source indices in a `HashSet` to prevent duplicate entries:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This comment was already wrong on main, but since the line moves here: the code uses a Vec, not a HashSet.

Suggested change
// Keep source indices in a `HashSet` to prevent duplicate entries:
// Indices into the GROUP BY list for this determinant:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Applied in 7cfb210.

// input field names and resolving target indices for it entirely. The
// GROUP BY-key dependency added after this block does not depend on the
// input's functional dependencies, so it still runs unconditionally.
if !func_dependencies.is_empty() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The same "no dependencies, skip" check is now at 3 sites (here, add_group_by_exprs_from_dependencies, and calc_func_dependencies_for_project). Could get_target_functional_dependencies also return None early, before it calls schema.field_names()? Then future callers get the fast path too:

let dependencies = schema.functional_dependencies();
if dependencies.is_empty() {
    return None;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, it now returns None up front when the schema has no dependencies. I kept the other two checks: the one in add_group_by_exprs_from_dependencies also skips building the GROUP BY field names before the call, and calc_func_dependencies_for_project doesn't go through this function at all.

// Projecting an empty set of dependencies always yields an empty set, so
// skip resolving projection expressions against the input fields. This is
// the common case because table sources carry no constraints by default.
if input_func_dependencies.is_empty() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Question: with this early return, the Expr::Wildcard branch no longer calls exprlist_to_fields(...)? when the input has no dependencies. So an error from that call does not come from here anymore. I think projection schema construction gives the same error before this point. Can you confirm?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes. projection_schema is the only caller, and it runs exprlist_to_fields(exprs, input)? over the full expression list (wildcard included) before it calls calc_func_dependencies_for_project. to_field is deterministic, so any error the per-wildcard call could raise has already surfaced there. The early return only skips repeating that work.

@adriangb

adriangb commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

run benchmark sql_planner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highcpu-48 (12 vCPU / 65 GiB) | Linux bench-c5956922502-3033-xnqlc 6.12.94+ #1 SMP Wed Aug 19 07:47:20 UTC 2026 aarch64 GNU/Linux

CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  48
On-line CPU(s) list:                     0-47
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     48
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:                               3 MiB (48 instances)
L1i cache:                               3 MiB (48 instances)
L2 cache:                                96 MiB (48 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-47
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/projection-func-deps-early-return (e773326) to c922f88 (merge-base) diff

Run configuration
run benchmark sql_planner

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-highcpu-48 (12 vCPU / 65 GiB)

Comparing perf/projection-func-deps-early-return (e773326) to c922f88 (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):                                  48
On-line CPU(s) list:                     0-47
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     48
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:                               3 MiB (48 instances)
L1i cache:                               3 MiB (48 instances)
L2 cache:                                96 MiB (48 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-47
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_projection-func-deps-early-return
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃     HEAD ┃ perf_projection-func-deps-early-return ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 39.95 ms │                               39.88 ms │ no change │
│ QQuery 2  │ 17.96 ms │                               18.13 ms │ no change │
│ QQuery 3  │ 27.83 ms │                               27.81 ms │ no change │
│ QQuery 4  │ 16.83 ms │                               16.75 ms │ no change │
│ QQuery 5  │ 34.71 ms │                               34.49 ms │ no change │
│ QQuery 6  │ 15.68 ms │                               15.71 ms │ no change │
│ QQuery 7  │ 41.73 ms │                               40.75 ms │ no change │
│ QQuery 8  │ 40.57 ms │                               39.98 ms │ no change │
│ QQuery 9  │ 50.27 ms │                               49.57 ms │ no change │
│ QQuery 10 │ 39.77 ms │                               39.65 ms │ no change │
│ QQuery 11 │ 12.98 ms │                               12.89 ms │ no change │
│ QQuery 12 │ 21.11 ms │                               21.18 ms │ no change │
│ QQuery 13 │ 38.88 ms │                               38.44 ms │ no change │
│ QQuery 14 │ 24.07 ms │                               24.05 ms │ no change │
│ QQuery 15 │ 29.96 ms │                               30.05 ms │ no change │
│ QQuery 16 │ 13.81 ms │                               13.84 ms │ no change │
│ QQuery 17 │ 73.32 ms │                               73.02 ms │ no change │
│ QQuery 18 │ 44.59 ms │                               44.83 ms │ no change │
│ QQuery 19 │ 31.08 ms │                               30.94 ms │ no change │
│ QQuery 20 │ 31.36 ms │                               30.76 ms │ no change │
│ QQuery 21 │ 54.14 ms │                               55.52 ms │ no change │
│ QQuery 22 │ 13.32 ms │                               13.27 ms │ no change │
└───────────┴──────────┴────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                     ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                     │ 713.92ms │
│ Total Time (perf_projection-func-deps-early-return)   │ 711.52ms │
│ Average Time (HEAD)                                   │  32.45ms │
│ Average Time (perf_projection-func-deps-early-return) │  32.34ms │
│ 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_projection-func-deps-early-return
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ perf_projection-func-deps-early-return ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 39.95 / 40.81 ±1.13 / 43.05 ms │         39.88 / 40.63 ±1.16 / 42.93 ms │ no change │
│ QQuery 2  │ 17.96 / 18.27 ±0.32 / 18.88 ms │         18.13 / 18.27 ±0.19 / 18.64 ms │ no change │
│ QQuery 3  │ 27.83 / 28.17 ±0.20 / 28.37 ms │         27.81 / 28.07 ±0.30 / 28.67 ms │ no change │
│ QQuery 4  │ 16.83 / 17.01 ±0.11 / 17.17 ms │         16.75 / 16.96 ±0.22 / 17.36 ms │ no change │
│ QQuery 5  │ 34.71 / 34.90 ±0.12 / 35.08 ms │         34.49 / 34.57 ±0.06 / 34.63 ms │ no change │
│ QQuery 6  │ 15.68 / 15.93 ±0.21 / 16.13 ms │         15.71 / 15.90 ±0.16 / 16.13 ms │ no change │
│ QQuery 7  │ 41.73 / 42.66 ±0.64 / 43.53 ms │         40.75 / 42.18 ±0.99 / 43.70 ms │ no change │
│ QQuery 8  │ 40.57 / 41.12 ±0.80 / 42.66 ms │         39.98 / 41.02 ±1.62 / 44.24 ms │ no change │
│ QQuery 9  │ 50.27 / 50.70 ±0.33 / 51.01 ms │         49.57 / 50.40 ±0.56 / 51.17 ms │ no change │
│ QQuery 10 │ 39.77 / 39.92 ±0.10 / 40.06 ms │         39.65 / 39.85 ±0.15 / 40.04 ms │ no change │
│ QQuery 11 │ 12.98 / 13.21 ±0.20 / 13.50 ms │         12.89 / 13.11 ±0.24 / 13.58 ms │ no change │
│ QQuery 12 │ 21.11 / 21.48 ±0.23 / 21.82 ms │         21.18 / 21.61 ±0.30 / 22.01 ms │ no change │
│ QQuery 13 │ 38.88 / 39.57 ±0.84 / 41.20 ms │         38.44 / 39.36 ±1.12 / 41.53 ms │ no change │
│ QQuery 14 │ 24.07 / 24.39 ±0.17 / 24.56 ms │         24.05 / 24.25 ±0.27 / 24.78 ms │ no change │
│ QQuery 15 │ 29.96 / 30.16 ±0.19 / 30.48 ms │         30.05 / 30.24 ±0.27 / 30.77 ms │ no change │
│ QQuery 16 │ 13.81 / 13.93 ±0.12 / 14.16 ms │         13.84 / 14.02 ±0.17 / 14.27 ms │ no change │
│ QQuery 17 │ 73.32 / 73.91 ±0.41 / 74.29 ms │         73.02 / 73.68 ±0.44 / 74.33 ms │ no change │
│ QQuery 18 │ 44.59 / 45.54 ±0.87 / 47.14 ms │         44.83 / 45.20 ±0.36 / 45.72 ms │ no change │
│ QQuery 19 │ 31.08 / 32.13 ±1.58 / 35.28 ms │         30.94 / 31.19 ±0.17 / 31.38 ms │ no change │
│ QQuery 20 │ 31.36 / 31.64 ±0.26 / 31.99 ms │         30.76 / 31.32 ±0.29 / 31.59 ms │ no change │
│ QQuery 21 │ 54.14 / 54.87 ±0.44 / 55.37 ms │         55.52 / 55.71 ±0.20 / 56.01 ms │ no change │
│ QQuery 22 │ 13.32 / 13.60 ±0.19 / 13.85 ms │         13.27 / 13.42 ±0.12 / 13.62 ms │ no change │
└───────────┴────────────────────────────────┴────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                     ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                     │ 723.92ms │
│ Total Time (perf_projection-func-deps-early-return)   │ 720.96ms │
│ Average Time (HEAD)                                   │  32.91ms │
│ Average Time (perf_projection-func-deps-early-return) │  32.77ms │
│ Queries Faster                                        │        0 │
│ Queries Slower                                        │        0 │
│ Queries with No Change                                │       22 │
│ Queries with Failure                                  │        0 │
└───────────────────────────────────────────────────────┴──────────┘

Resource Usage

tpch — base (merge-base)

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

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 973.2 MiB
Avg memory 437.0 MiB
CPU user 20.1s
CPU sys 1.5s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highcpu-48 (12 vCPU / 65 GiB)

Comparing perf/projection-func-deps-early-return (e773326) to c922f88 (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):                                  48
On-line CPU(s) list:                     0-47
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     48
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:                               3 MiB (48 instances)
L1i cache:                               3 MiB (48 instances)
L2 cache:                                96 MiB (48 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-47
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_projection-func-deps-early-return
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ perf_projection-func-deps-early-return ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │    5.19 ms │                                5.39 ms │    no change │
│ QQuery 2  │   79.17 ms │                               78.34 ms │    no change │
│ QQuery 3  │   27.95 ms │                               28.02 ms │    no change │
│ QQuery 4  │  417.30 ms │                              417.25 ms │    no change │
│ QQuery 5  │   48.77 ms │                               49.78 ms │    no change │
│ QQuery 6  │   34.30 ms │                               34.53 ms │    no change │
│ QQuery 7  │   73.70 ms │                               73.40 ms │    no change │
│ QQuery 8  │   34.94 ms │                               35.48 ms │    no change │
│ QQuery 9  │   50.16 ms │                               49.14 ms │    no change │
│ QQuery 10 │   60.88 ms │                               61.12 ms │    no change │
│ QQuery 11 │  257.82 ms │                              257.28 ms │    no change │
│ QQuery 12 │   27.91 ms │                               28.15 ms │    no change │
│ QQuery 13 │  116.10 ms │                              116.22 ms │    no change │
│ QQuery 14 │  380.74 ms │                              383.29 ms │    no change │
│ QQuery 15 │   51.89 ms │                               52.17 ms │    no change │
│ QQuery 16 │    6.10 ms │                                6.12 ms │    no change │
│ QQuery 17 │   77.85 ms │                               78.30 ms │    no change │
│ QQuery 18 │  102.59 ms │                              101.35 ms │    no change │
│ QQuery 19 │   40.99 ms │                               40.40 ms │    no change │
│ QQuery 20 │   34.53 ms │                               34.92 ms │    no change │
│ QQuery 21 │   16.19 ms │                               16.12 ms │    no change │
│ QQuery 22 │   62.37 ms │                               62.95 ms │    no change │
│ QQuery 23 │  300.10 ms │                              302.76 ms │    no change │
│ QQuery 24 │  186.31 ms │                              187.11 ms │    no change │
│ QQuery 25 │  107.53 ms │                              108.23 ms │    no change │
│ QQuery 26 │   46.79 ms │                               47.19 ms │    no change │
│ QQuery 27 │    5.80 ms │                                5.66 ms │    no change │
│ QQuery 28 │   55.27 ms │                               60.18 ms │ 1.09x slower │
│ QQuery 29 │   93.97 ms │                               94.67 ms │    no change │
│ QQuery 30 │   31.37 ms │                               31.28 ms │    no change │
│ QQuery 31 │  105.62 ms │                              106.86 ms │    no change │
│ QQuery 32 │   19.26 ms │                               19.80 ms │    no change │
│ QQuery 33 │   36.12 ms │                               36.33 ms │    no change │
│ QQuery 34 │    9.74 ms │                                9.66 ms │    no change │
│ QQuery 35 │   70.19 ms │                               70.66 ms │    no change │
│ QQuery 36 │    5.48 ms │                                5.63 ms │    no change │
│ QQuery 37 │    6.52 ms │                                6.67 ms │    no change │
│ QQuery 38 │   58.85 ms │                               59.15 ms │    no change │
│ QQuery 39 │   71.74 ms │                               71.35 ms │    no change │
│ QQuery 40 │   21.94 ms │                               22.33 ms │    no change │
│ QQuery 41 │   10.92 ms │                               10.90 ms │    no change │
│ QQuery 42 │   22.86 ms │                               23.02 ms │    no change │
│ QQuery 43 │    4.57 ms │                                4.73 ms │    no change │
│ QQuery 44 │    8.38 ms │                                8.69 ms │    no change │
│ QQuery 45 │   34.82 ms │                               34.90 ms │    no change │
│ QQuery 46 │   11.15 ms │                               11.29 ms │    no change │
│ QQuery 47 │  212.01 ms │                              217.37 ms │    no change │
│ QQuery 48 │   93.83 ms │                               93.65 ms │    no change │
│ QQuery 49 │   68.44 ms │                               68.73 ms │    no change │
│ QQuery 50 │   57.29 ms │                               58.26 ms │    no change │
│ QQuery 51 │   90.43 ms │                               92.24 ms │    no change │
│ QQuery 52 │   23.15 ms │                               23.23 ms │    no change │
│ QQuery 53 │   27.97 ms │                               28.37 ms │    no change │
│ QQuery 54 │   51.67 ms │                               52.76 ms │    no change │
│ QQuery 55 │   22.92 ms │                               22.70 ms │    no change │
│ QQuery 56 │   36.44 ms │                               37.05 ms │    no change │
│ QQuery 57 │  163.87 ms │                              165.69 ms │    no change │
│ QQuery 58 │  104.24 ms │                              104.63 ms │    no change │
│ QQuery 59 │  112.94 ms │                              113.34 ms │    no change │
│ QQuery 60 │   37.31 ms │                               36.98 ms │    no change │
│ QQuery 61 │   10.84 ms │                               10.96 ms │    no change │
│ QQuery 62 │   42.66 ms │                               42.27 ms │    no change │
│ QQuery 63 │   28.10 ms │                               28.64 ms │    no change │
│ QQuery 64 │  350.24 ms │                              355.08 ms │    no change │
│ QQuery 65 │  129.10 ms │                              131.08 ms │    no change │
│ QQuery 66 │   73.59 ms │                               73.61 ms │    no change │
│ QQuery 67 │  238.33 ms │                              239.78 ms │    no change │
│ QQuery 68 │   11.42 ms │                               11.42 ms │    no change │
│ QQuery 69 │   54.27 ms │                               55.22 ms │    no change │
│ QQuery 70 │  100.96 ms │                              100.47 ms │    no change │
│ QQuery 71 │   33.36 ms │                               34.23 ms │    no change │
│ QQuery 72 │ 1655.47 ms │                             1662.32 ms │    no change │
│ QQuery 73 │    9.32 ms │                                9.37 ms │    no change │
│ QQuery 74 │  148.37 ms │                              150.31 ms │    no change │
│ QQuery 75 │  138.30 ms │                              138.65 ms │    no change │
│ QQuery 76 │   32.64 ms │                               33.18 ms │    no change │
│ QQuery 77 │   58.45 ms │                               58.64 ms │    no change │
│ QQuery 78 │  158.42 ms │                              159.35 ms │    no change │
│ QQuery 79 │   64.77 ms │                               65.72 ms │    no change │
│ QQuery 80 │   92.66 ms │                               94.43 ms │    no change │
│ QQuery 81 │   24.83 ms │                               24.85 ms │    no change │
│ QQuery 82 │   15.94 ms │                               15.76 ms │    no change │
│ QQuery 83 │   31.96 ms │                               31.88 ms │    no change │
│ QQuery 84 │   28.58 ms │                               28.86 ms │    no change │
│ QQuery 85 │  101.20 ms │                              101.94 ms │    no change │
│ QQuery 86 │   24.38 ms │                               24.25 ms │    no change │
│ QQuery 87 │   59.01 ms │                               60.03 ms │    no change │
│ QQuery 88 │   57.86 ms │                               58.35 ms │    no change │
│ QQuery 89 │   33.90 ms │                               34.40 ms │    no change │
│ QQuery 90 │   15.90 ms │                               15.90 ms │    no change │
│ QQuery 91 │   43.87 ms │                               43.14 ms │    no change │
│ QQuery 92 │   27.87 ms │                               28.36 ms │    no change │
│ QQuery 93 │   47.41 ms │                               47.91 ms │    no change │
│ QQuery 94 │   36.93 ms │                               37.75 ms │    no change │
│ QQuery 95 │   76.97 ms │                               78.80 ms │    no change │
│ QQuery 96 │   23.02 ms │                               23.21 ms │    no change │
│ QQuery 97 │   49.62 ms │                               49.95 ms │    no change │
│ QQuery 98 │   41.73 ms │                               42.08 ms │    no change │
│ QQuery 99 │   63.30 ms │                               63.46 ms │    no change │
└───────────┴────────────┴────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                     ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                     │ 8670.83ms │
│ Total Time (perf_projection-func-deps-early-return)   │ 8729.37ms │
│ Average Time (HEAD)                                   │   87.58ms │
│ Average Time (perf_projection-func-deps-early-return) │   88.18ms │
│ Queries Faster                                        │         0 │
│ Queries Slower                                        │         1 │
│ Queries with No Change                                │        98 │
│ Queries with Failure                                  │         0 │
└───────────────────────────────────────────────────────┴───────────┘

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

Comparing HEAD and perf_projection-func-deps-early-return
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ perf_projection-func-deps-early-return ┃       Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ QQuery 1  │           5.19 / 5.85 ±1.09 / 8.02 ms │            5.39 / 5.97 ±1.06 / 8.09 ms │    no change │
│ QQuery 2  │        79.17 / 79.49 ±0.40 / 80.27 ms │         78.34 / 79.05 ±0.37 / 79.37 ms │    no change │
│ QQuery 3  │        27.95 / 28.22 ±0.24 / 28.54 ms │         28.02 / 28.38 ±0.29 / 28.87 ms │    no change │
│ QQuery 4  │     417.30 / 426.36 ±6.75 / 435.91 ms │      417.25 / 428.80 ±8.46 / 443.12 ms │    no change │
│ QQuery 5  │        48.77 / 49.50 ±0.62 / 50.26 ms │         49.78 / 50.24 ±0.27 / 50.64 ms │    no change │
│ QQuery 6  │        34.30 / 36.64 ±3.30 / 43.18 ms │         34.53 / 37.12 ±4.57 / 46.26 ms │    no change │
│ QQuery 7  │        73.70 / 74.42 ±0.61 / 75.23 ms │         73.40 / 74.39 ±0.63 / 75.11 ms │    no change │
│ QQuery 8  │        34.94 / 35.37 ±0.34 / 35.85 ms │         35.48 / 35.88 ±0.46 / 36.74 ms │    no change │
│ QQuery 9  │        50.16 / 52.57 ±1.73 / 55.00 ms │         49.14 / 51.97 ±1.87 / 54.77 ms │    no change │
│ QQuery 10 │        60.88 / 63.25 ±3.85 / 70.94 ms │         61.12 / 62.93 ±2.96 / 68.81 ms │    no change │
│ QQuery 11 │     257.82 / 262.85 ±4.52 / 270.71 ms │      257.28 / 262.32 ±4.08 / 268.99 ms │    no change │
│ QQuery 12 │        27.91 / 28.24 ±0.25 / 28.57 ms │         28.15 / 28.42 ±0.23 / 28.76 ms │    no change │
│ QQuery 13 │     116.10 / 117.49 ±1.71 / 120.76 ms │      116.22 / 117.23 ±0.76 / 118.26 ms │    no change │
│ QQuery 14 │     380.74 / 387.57 ±5.54 / 396.25 ms │      383.29 / 387.11 ±2.80 / 391.41 ms │    no change │
│ QQuery 15 │        51.89 / 53.47 ±2.12 / 57.63 ms │         52.17 / 52.52 ±0.40 / 53.21 ms │    no change │
│ QQuery 16 │           6.10 / 6.24 ±0.13 / 6.48 ms │            6.12 / 6.27 ±0.23 / 6.74 ms │    no change │
│ QQuery 17 │        77.85 / 78.85 ±0.93 / 80.30 ms │         78.30 / 78.82 ±0.40 / 79.29 ms │    no change │
│ QQuery 18 │     102.59 / 105.25 ±2.61 / 109.74 ms │      101.35 / 104.73 ±2.18 / 107.98 ms │    no change │
│ QQuery 19 │        40.99 / 41.14 ±0.11 / 41.28 ms │         40.40 / 40.85 ±0.25 / 41.16 ms │    no change │
│ QQuery 20 │        34.53 / 34.86 ±0.39 / 35.61 ms │         34.92 / 35.42 ±0.40 / 36.05 ms │    no change │
│ QQuery 21 │        16.19 / 16.41 ±0.24 / 16.83 ms │         16.12 / 16.58 ±0.40 / 17.18 ms │    no change │
│ QQuery 22 │        62.37 / 63.52 ±1.00 / 65.21 ms │         62.95 / 63.04 ±0.11 / 63.26 ms │    no change │
│ QQuery 23 │     300.10 / 302.52 ±1.66 / 304.54 ms │      302.76 / 304.72 ±2.65 / 309.98 ms │    no change │
│ QQuery 24 │     186.31 / 190.51 ±2.57 / 193.38 ms │      187.11 / 190.76 ±4.17 / 198.88 ms │    no change │
│ QQuery 25 │     107.53 / 109.40 ±2.23 / 113.60 ms │      108.23 / 109.43 ±1.69 / 112.66 ms │    no change │
│ QQuery 26 │        46.79 / 47.65 ±1.14 / 49.88 ms │         47.19 / 47.81 ±0.71 / 49.17 ms │    no change │
│ QQuery 27 │           5.80 / 5.95 ±0.11 / 6.09 ms │            5.66 / 5.81 ±0.13 / 6.04 ms │    no change │
│ QQuery 28 │        55.27 / 58.99 ±1.86 / 60.03 ms │         60.18 / 60.50 ±0.26 / 60.82 ms │    no change │
│ QQuery 29 │        93.97 / 95.21 ±0.86 / 95.98 ms │         94.67 / 95.82 ±1.79 / 99.37 ms │    no change │
│ QQuery 30 │        31.37 / 31.52 ±0.15 / 31.80 ms │         31.28 / 31.68 ±0.34 / 32.08 ms │    no change │
│ QQuery 31 │     105.62 / 106.34 ±0.45 / 106.86 ms │      106.86 / 107.93 ±1.18 / 110.14 ms │    no change │
│ QQuery 32 │        19.26 / 20.78 ±1.94 / 24.51 ms │         19.80 / 21.02 ±1.91 / 24.81 ms │    no change │
│ QQuery 33 │        36.12 / 36.50 ±0.48 / 37.43 ms │         36.33 / 36.66 ±0.34 / 37.20 ms │    no change │
│ QQuery 34 │          9.74 / 9.84 ±0.12 / 10.07 ms │           9.66 / 9.89 ±0.21 / 10.16 ms │    no change │
│ QQuery 35 │        70.19 / 70.90 ±1.16 / 73.20 ms │         70.66 / 70.99 ±0.37 / 71.65 ms │    no change │
│ QQuery 36 │           5.48 / 5.61 ±0.20 / 6.00 ms │            5.63 / 5.73 ±0.19 / 6.12 ms │    no change │
│ QQuery 37 │           6.52 / 6.64 ±0.07 / 6.72 ms │            6.67 / 6.71 ±0.02 / 6.75 ms │    no change │
│ QQuery 38 │        58.85 / 59.26 ±0.52 / 60.26 ms │         59.15 / 60.34 ±1.18 / 62.56 ms │    no change │
│ QQuery 39 │        71.74 / 72.81 ±1.47 / 75.66 ms │         71.35 / 71.93 ±0.46 / 72.60 ms │    no change │
│ QQuery 40 │        21.94 / 23.13 ±1.53 / 26.15 ms │         22.33 / 23.11 ±0.98 / 25.00 ms │    no change │
│ QQuery 41 │        10.92 / 11.05 ±0.18 / 11.40 ms │         10.90 / 11.03 ±0.15 / 11.32 ms │    no change │
│ QQuery 42 │        22.86 / 23.03 ±0.23 / 23.47 ms │         23.02 / 23.29 ±0.22 / 23.69 ms │    no change │
│ QQuery 43 │           4.57 / 4.71 ±0.14 / 4.98 ms │            4.73 / 4.82 ±0.15 / 5.11 ms │    no change │
│ QQuery 44 │           8.38 / 8.51 ±0.10 / 8.69 ms │            8.69 / 8.78 ±0.08 / 8.92 ms │    no change │
│ QQuery 45 │        34.82 / 35.13 ±0.25 / 35.44 ms │         34.90 / 35.82 ±0.66 / 36.65 ms │    no change │
│ QQuery 46 │        11.15 / 11.28 ±0.08 / 11.39 ms │         11.29 / 11.64 ±0.38 / 12.35 ms │    no change │
│ QQuery 47 │     212.01 / 214.26 ±2.19 / 217.63 ms │      217.37 / 219.33 ±1.60 / 221.93 ms │    no change │
│ QQuery 48 │       93.83 / 95.71 ±2.62 / 100.89 ms │         93.65 / 94.23 ±0.39 / 94.85 ms │    no change │
│ QQuery 49 │        68.44 / 69.01 ±0.48 / 69.77 ms │         68.73 / 69.49 ±0.59 / 70.34 ms │    no change │
│ QQuery 50 │        57.29 / 59.78 ±2.86 / 65.30 ms │         58.26 / 59.93 ±2.62 / 65.14 ms │    no change │
│ QQuery 51 │        90.43 / 92.96 ±1.71 / 95.14 ms │         92.24 / 93.41 ±0.91 / 94.58 ms │    no change │
│ QQuery 52 │        23.15 / 23.45 ±0.18 / 23.65 ms │         23.23 / 23.82 ±0.39 / 24.37 ms │    no change │
│ QQuery 53 │        27.97 / 28.25 ±0.17 / 28.44 ms │         28.37 / 28.65 ±0.17 / 28.82 ms │    no change │
│ QQuery 54 │        51.67 / 53.71 ±2.77 / 59.16 ms │         52.76 / 54.50 ±2.88 / 60.25 ms │    no change │
│ QQuery 55 │        22.92 / 23.24 ±0.35 / 23.91 ms │         22.70 / 23.07 ±0.25 / 23.42 ms │    no change │
│ QQuery 56 │        36.44 / 37.10 ±0.57 / 38.16 ms │         37.05 / 37.37 ±0.20 / 37.57 ms │    no change │
│ QQuery 57 │     163.87 / 167.68 ±2.74 / 171.85 ms │      165.69 / 168.38 ±2.70 / 172.39 ms │    no change │
│ QQuery 58 │     104.24 / 104.78 ±0.62 / 105.83 ms │      104.63 / 105.59 ±0.59 / 106.46 ms │    no change │
│ QQuery 59 │     112.94 / 114.23 ±1.24 / 116.55 ms │      113.34 / 114.64 ±1.79 / 118.14 ms │    no change │
│ QQuery 60 │        37.31 / 37.83 ±0.35 / 38.35 ms │         36.98 / 37.99 ±0.62 / 38.58 ms │    no change │
│ QQuery 61 │        10.84 / 11.03 ±0.28 / 11.58 ms │         10.96 / 11.12 ±0.23 / 11.56 ms │    no change │
│ QQuery 62 │        42.66 / 42.92 ±0.31 / 43.51 ms │         42.27 / 42.85 ±0.33 / 43.15 ms │    no change │
│ QQuery 63 │        28.10 / 28.45 ±0.25 / 28.69 ms │         28.64 / 28.85 ±0.29 / 29.42 ms │    no change │
│ QQuery 64 │     350.24 / 357.83 ±6.69 / 365.96 ms │      355.08 / 359.77 ±4.09 / 366.96 ms │    no change │
│ QQuery 65 │     129.10 / 132.89 ±1.95 / 134.73 ms │      131.08 / 136.59 ±4.88 / 144.31 ms │    no change │
│ QQuery 66 │        73.59 / 75.21 ±2.43 / 80.04 ms │         73.61 / 74.15 ±0.78 / 75.69 ms │    no change │
│ QQuery 67 │     238.33 / 242.10 ±5.49 / 252.98 ms │      239.78 / 244.70 ±3.45 / 249.11 ms │    no change │
│ QQuery 68 │        11.42 / 11.58 ±0.26 / 12.11 ms │         11.42 / 11.73 ±0.33 / 12.34 ms │    no change │
│ QQuery 69 │        54.27 / 55.75 ±1.94 / 59.57 ms │         55.22 / 55.68 ±0.27 / 55.97 ms │    no change │
│ QQuery 70 │     100.96 / 106.47 ±8.58 / 123.48 ms │      100.47 / 102.05 ±1.50 / 104.50 ms │    no change │
│ QQuery 71 │        33.36 / 33.58 ±0.24 / 34.02 ms │         34.23 / 35.11 ±1.26 / 37.60 ms │    no change │
│ QQuery 72 │ 1655.47 / 1685.49 ±26.30 / 1720.56 ms │  1662.32 / 1732.55 ±49.40 / 1796.93 ms │    no change │
│ QQuery 73 │          9.32 / 9.67 ±0.38 / 10.41 ms │           9.37 / 9.71 ±0.54 / 10.79 ms │    no change │
│ QQuery 74 │     148.37 / 149.52 ±0.91 / 150.87 ms │      150.31 / 152.02 ±1.51 / 154.21 ms │    no change │
│ QQuery 75 │     138.30 / 139.97 ±2.02 / 143.91 ms │      138.65 / 140.55 ±2.38 / 145.13 ms │    no change │
│ QQuery 76 │        32.64 / 33.35 ±0.67 / 34.43 ms │         33.18 / 33.57 ±0.30 / 34.04 ms │    no change │
│ QQuery 77 │        58.45 / 58.89 ±0.39 / 59.53 ms │         58.64 / 60.57 ±3.17 / 66.90 ms │    no change │
│ QQuery 78 │     158.42 / 164.97 ±4.24 / 170.64 ms │      159.35 / 162.71 ±4.40 / 171.23 ms │    no change │
│ QQuery 79 │        64.77 / 65.12 ±0.35 / 65.75 ms │         65.72 / 67.70 ±3.51 / 74.71 ms │    no change │
│ QQuery 80 │       92.66 / 97.59 ±5.31 / 107.85 ms │         94.43 / 95.55 ±0.62 / 96.08 ms │    no change │
│ QQuery 81 │        24.83 / 26.11 ±2.03 / 30.15 ms │         24.85 / 25.11 ±0.24 / 25.39 ms │    no change │
│ QQuery 82 │        15.94 / 16.26 ±0.36 / 16.88 ms │         15.76 / 15.99 ±0.20 / 16.32 ms │    no change │
│ QQuery 83 │        31.96 / 32.24 ±0.27 / 32.69 ms │         31.88 / 33.67 ±2.88 / 39.42 ms │    no change │
│ QQuery 84 │        28.58 / 28.70 ±0.17 / 29.03 ms │         28.86 / 29.29 ±0.39 / 29.81 ms │    no change │
│ QQuery 85 │     101.20 / 105.03 ±5.62 / 116.16 ms │      101.94 / 104.25 ±2.12 / 107.93 ms │    no change │
│ QQuery 86 │        24.38 / 24.77 ±0.48 / 25.61 ms │         24.25 / 24.77 ±0.32 / 25.20 ms │    no change │
│ QQuery 87 │        59.01 / 59.99 ±1.02 / 61.79 ms │         60.03 / 60.94 ±0.59 / 61.77 ms │    no change │
│ QQuery 88 │        57.86 / 58.90 ±1.01 / 60.81 ms │         58.35 / 60.01 ±1.44 / 62.61 ms │    no change │
│ QQuery 89 │        33.90 / 34.35 ±0.27 / 34.64 ms │         34.40 / 35.14 ±0.56 / 35.80 ms │    no change │
│ QQuery 90 │        15.90 / 16.02 ±0.19 / 16.41 ms │         15.90 / 16.09 ±0.23 / 16.49 ms │    no change │
│ QQuery 91 │        43.87 / 44.61 ±0.92 / 46.41 ms │         43.14 / 43.43 ±0.24 / 43.74 ms │    no change │
│ QQuery 92 │        27.87 / 28.51 ±0.41 / 29.11 ms │         28.36 / 30.19 ±2.58 / 35.30 ms │ 1.06x slower │
│ QQuery 93 │        47.41 / 48.25 ±0.79 / 49.70 ms │         47.91 / 48.51 ±0.40 / 49.14 ms │    no change │
│ QQuery 94 │        36.93 / 37.64 ±0.65 / 38.78 ms │         37.75 / 39.10 ±1.97 / 43.00 ms │    no change │
│ QQuery 95 │        76.97 / 78.96 ±1.77 / 81.72 ms │         78.80 / 79.48 ±0.44 / 80.16 ms │    no change │
│ QQuery 96 │        23.02 / 23.25 ±0.33 / 23.90 ms │         23.21 / 23.69 ±0.66 / 24.91 ms │    no change │
│ QQuery 97 │        49.62 / 50.82 ±1.06 / 52.50 ms │         49.95 / 50.74 ±1.04 / 52.70 ms │    no change │
│ QQuery 98 │        41.73 / 42.24 ±0.45 / 42.94 ms │         42.08 / 43.03 ±0.76 / 44.03 ms │    no change │
│ QQuery 99 │        63.30 / 64.13 ±1.48 / 67.08 ms │         63.46 / 63.84 ±0.34 / 64.36 ms │    no change │
└───────────┴───────────────────────────────────────┴────────────────────────────────────────┴──────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Benchmark Summary                                     ┃           ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ Total Time (HEAD)                                     │ 8839.95ms │
│ Total Time (perf_projection-func-deps-early-return)   │ 8919.46ms │
│ Average Time (HEAD)                                   │   89.29ms │
│ Average Time (perf_projection-func-deps-early-return) │   90.10ms │
│ Queries Faster                                        │         0 │
│ Queries Slower                                        │         1 │
│ Queries with No Change                                │        98 │
│ Queries with Failure                                  │         0 │
└───────────────────────────────────────────────────────┴───────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 45.0s
Peak memory 1.5 GiB
Avg memory 1.1 GiB
CPU user 191.6s
CPU sys 5.5s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 45.0s
Peak memory 1.5 GiB
Avg memory 1.1 GiB
CPU user 193.5s
CPU sys 5.3s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highcpu-48 (12 vCPU / 65 GiB)

Comparing perf/projection-func-deps-early-return (e773326) to c922f88 (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):                                  48
On-line CPU(s) list:                     0-47
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     48
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:                               3 MiB (48 instances)
L1i cache:                               3 MiB (48 instances)
L2 cache:                                96 MiB (48 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-47
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_projection-func-deps-early-return
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃       HEAD ┃ perf_projection-func-deps-early-return ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │    1.26 ms │                                1.22 ms │     no change │
│ QQuery 1  │   11.80 ms │                               11.51 ms │     no change │
│ QQuery 2  │   36.87 ms │                               36.12 ms │     no change │
│ QQuery 3  │   31.35 ms │                               30.65 ms │     no change │
│ QQuery 4  │  234.96 ms │                              232.76 ms │     no change │
│ QQuery 5  │  273.39 ms │                              267.42 ms │     no change │
│ QQuery 6  │    1.29 ms │                                1.25 ms │     no change │
│ QQuery 7  │   12.85 ms │                               12.68 ms │     no change │
│ QQuery 8  │  335.29 ms │                              327.79 ms │     no change │
│ QQuery 9  │  472.91 ms │                              461.65 ms │     no change │
│ QQuery 10 │   64.43 ms │                               62.46 ms │     no change │
│ QQuery 11 │   74.19 ms │                               73.30 ms │     no change │
│ QQuery 12 │  261.02 ms │                              260.05 ms │     no change │
│ QQuery 13 │  358.31 ms │                              356.82 ms │     no change │
│ QQuery 14 │  276.85 ms │                              277.36 ms │     no change │
│ QQuery 15 │  285.29 ms │                              280.80 ms │     no change │
│ QQuery 16 │  617.13 ms │                              620.48 ms │     no change │
│ QQuery 17 │  619.52 ms │                              618.99 ms │     no change │
│ QQuery 18 │ 1284.72 ms │                             1273.00 ms │     no change │
│ QQuery 19 │   27.12 ms │                               26.88 ms │     no change │
│ QQuery 20 │  513.54 ms │                              513.24 ms │     no change │
│ QQuery 21 │  510.06 ms │                              512.32 ms │     no change │
│ QQuery 22 │ 1007.08 ms │                             1045.22 ms │     no change │
│ QQuery 23 │ 3172.84 ms │                             3193.81 ms │     no change │
│ QQuery 24 │   39.93 ms │                               39.68 ms │     no change │
│ QQuery 25 │  103.27 ms │                              104.38 ms │     no change │
│ QQuery 26 │   40.67 ms │                               40.70 ms │     no change │
│ QQuery 27 │  516.38 ms │                              509.18 ms │     no change │
│ QQuery 28 │ 2865.78 ms │                             2871.73 ms │     no change │
│ QQuery 29 │   39.00 ms │                               38.71 ms │     no change │
│ QQuery 30 │  302.07 ms │                              302.77 ms │     no change │
│ QQuery 31 │  275.81 ms │                              279.44 ms │     no change │
│ QQuery 32 │ 1080.03 ms │                             1091.98 ms │     no change │
│ QQuery 33 │ 1578.77 ms │                             1574.75 ms │     no change │
│ QQuery 34 │ 1573.74 ms │                             1576.01 ms │     no change │
│ QQuery 35 │  292.36 ms │                              298.03 ms │     no change │
│ QQuery 36 │   72.27 ms │                               66.84 ms │ +1.08x faster │
│ QQuery 37 │   35.77 ms │                               34.93 ms │     no change │
│ QQuery 38 │   44.41 ms │                               42.23 ms │     no change │
│ QQuery 39 │  154.40 ms │                              147.19 ms │     no change │
│ QQuery 40 │   14.35 ms │                               13.72 ms │     no change │
│ QQuery 41 │   13.32 ms │                               13.23 ms │     no change │
│ QQuery 42 │   12.97 ms │                               12.83 ms │     no change │
└───────────┴────────────┴────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                     ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                     │ 19539.35ms │
│ Total Time (perf_projection-func-deps-early-return)   │ 19556.11ms │
│ Average Time (HEAD)                                   │   454.40ms │
│ Average Time (perf_projection-func-deps-early-return) │   454.79ms │
│ Queries Faster                                        │          1 │
│ Queries Slower                                        │          0 │
│ Queries with No Change                                │         42 │
│ Queries with Failure                                  │          0 │
└───────────────────────────────────────────────────────┴────────────┘

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

Comparing HEAD and perf_projection-func-deps-early-return
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                   HEAD ┃ perf_projection-func-deps-early-return ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │           1.26 / 4.00 ±5.42 / 14.84 ms │           1.22 / 3.94 ±5.37 / 14.67 ms │     no change │
│ QQuery 1  │         11.80 / 11.95 ±0.10 / 12.08 ms │         11.51 / 11.65 ±0.13 / 11.87 ms │     no change │
│ QQuery 2  │         36.87 / 37.12 ±0.22 / 37.43 ms │         36.12 / 36.40 ±0.15 / 36.59 ms │     no change │
│ QQuery 3  │         31.35 / 31.87 ±0.64 / 33.11 ms │         30.65 / 30.94 ±0.30 / 31.39 ms │     no change │
│ QQuery 4  │      234.96 / 237.54 ±1.60 / 239.94 ms │      232.76 / 236.17 ±4.59 / 245.28 ms │     no change │
│ QQuery 5  │      273.39 / 278.13 ±2.93 / 281.99 ms │      267.42 / 274.27 ±4.24 / 279.84 ms │     no change │
│ QQuery 6  │            1.29 / 1.41 ±0.19 / 1.77 ms │            1.25 / 1.39 ±0.22 / 1.82 ms │     no change │
│ QQuery 7  │         12.85 / 12.99 ±0.10 / 13.12 ms │         12.68 / 12.82 ±0.11 / 12.94 ms │     no change │
│ QQuery 8  │      335.29 / 337.80 ±2.22 / 341.85 ms │      327.79 / 331.56 ±3.06 / 334.84 ms │     no change │
│ QQuery 9  │      472.91 / 481.52 ±6.24 / 491.92 ms │     461.65 / 479.73 ±24.38 / 528.06 ms │     no change │
│ QQuery 10 │         64.43 / 64.91 ±0.71 / 66.29 ms │         62.46 / 63.25 ±0.69 / 64.50 ms │     no change │
│ QQuery 11 │         74.19 / 74.90 ±0.67 / 75.71 ms │         73.30 / 75.72 ±4.29 / 84.26 ms │     no change │
│ QQuery 12 │      261.02 / 265.26 ±3.49 / 271.03 ms │      260.05 / 262.99 ±2.47 / 266.89 ms │     no change │
│ QQuery 13 │     358.31 / 375.55 ±13.89 / 400.70 ms │     356.82 / 370.46 ±11.28 / 389.91 ms │     no change │
│ QQuery 14 │      276.85 / 281.39 ±3.30 / 285.05 ms │      277.36 / 282.55 ±5.19 / 291.00 ms │     no change │
│ QQuery 15 │      285.29 / 293.29 ±6.69 / 301.87 ms │     280.80 / 299.96 ±13.03 / 314.68 ms │     no change │
│ QQuery 16 │      617.13 / 628.41 ±9.61 / 641.68 ms │      620.48 / 629.30 ±8.28 / 643.90 ms │     no change │
│ QQuery 17 │     619.52 / 634.64 ±11.60 / 651.96 ms │     618.99 / 639.02 ±19.52 / 675.58 ms │     no change │
│ QQuery 18 │  1284.72 / 1300.33 ±10.19 / 1310.82 ms │  1273.00 / 1295.88 ±16.65 / 1316.54 ms │     no change │
│ QQuery 19 │         27.12 / 29.97 ±5.07 / 40.08 ms │         26.88 / 29.80 ±5.19 / 40.17 ms │     no change │
│ QQuery 20 │      513.54 / 522.78 ±7.98 / 537.24 ms │      513.24 / 522.44 ±5.92 / 528.93 ms │     no change │
│ QQuery 21 │      510.06 / 513.38 ±2.78 / 516.36 ms │      512.32 / 521.59 ±8.20 / 531.73 ms │     no change │
│ QQuery 22 │  1007.08 / 1041.60 ±43.97 / 1127.36 ms │  1045.22 / 1101.45 ±66.70 / 1194.55 ms │  1.06x slower │
│ QQuery 23 │ 3172.84 / 3364.22 ±121.06 / 3552.16 ms │  3193.81 / 3313.14 ±81.30 / 3435.39 ms │     no change │
│ QQuery 24 │       39.93 / 56.02 ±30.85 / 117.71 ms │       39.68 / 87.70 ±78.29 / 242.21 ms │  1.57x slower │
│ QQuery 25 │    103.27 / 181.47 ±148.45 / 478.34 ms │     104.38 / 123.90 ±29.93 / 182.50 ms │ +1.46x faster │
│ QQuery 26 │         40.67 / 41.12 ±0.71 / 42.53 ms │         40.70 / 41.17 ±0.46 / 41.79 ms │     no change │
│ QQuery 27 │      516.38 / 522.79 ±4.33 / 526.41 ms │     509.18 / 524.10 ±12.97 / 547.83 ms │     no change │
│ QQuery 28 │  2865.78 / 2883.56 ±10.90 / 2894.82 ms │  2871.73 / 2892.38 ±14.96 / 2916.50 ms │     no change │
│ QQuery 29 │         39.00 / 39.38 ±0.36 / 39.99 ms │        38.71 / 46.93 ±10.78 / 66.59 ms │  1.19x slower │
│ QQuery 30 │      302.07 / 311.91 ±7.62 / 321.56 ms │      302.77 / 310.89 ±7.79 / 322.47 ms │     no change │
│ QQuery 31 │     275.81 / 293.54 ±14.91 / 313.52 ms │      279.44 / 286.23 ±5.06 / 295.19 ms │     no change │
│ QQuery 32 │  1080.03 / 1169.85 ±85.65 / 1326.66 ms │  1091.98 / 1151.49 ±67.69 / 1260.07 ms │     no change │
│ QQuery 33 │  1578.77 / 1615.92 ±19.53 / 1633.61 ms │  1574.75 / 1592.64 ±18.35 / 1627.92 ms │     no change │
│ QQuery 34 │  1573.74 / 1622.25 ±51.99 / 1719.97 ms │  1576.01 / 1610.42 ±19.31 / 1635.91 ms │     no change │
│ QQuery 35 │     292.36 / 338.76 ±37.46 / 395.14 ms │     298.03 / 338.90 ±49.13 / 428.20 ms │     no change │
│ QQuery 36 │         72.27 / 83.88 ±7.38 / 94.41 ms │         66.84 / 72.24 ±4.29 / 76.77 ms │ +1.16x faster │
│ QQuery 37 │         35.77 / 40.42 ±3.46 / 44.71 ms │        34.93 / 44.33 ±12.54 / 68.76 ms │  1.10x slower │
│ QQuery 38 │         44.41 / 48.15 ±3.65 / 55.12 ms │         42.23 / 49.92 ±5.62 / 57.92 ms │     no change │
│ QQuery 39 │      154.40 / 160.15 ±4.25 / 166.61 ms │      147.19 / 152.37 ±5.54 / 162.20 ms │     no change │
│ QQuery 40 │         14.35 / 15.86 ±2.75 / 21.34 ms │         13.72 / 15.87 ±2.97 / 21.62 ms │     no change │
│ QQuery 41 │         13.32 / 13.61 ±0.39 / 14.37 ms │         13.23 / 15.60 ±4.23 / 24.05 ms │  1.15x slower │
│ QQuery 42 │         12.97 / 13.21 ±0.15 / 13.41 ms │         12.83 / 13.05 ±0.17 / 13.28 ms │     no change │
└───────────┴────────────────────────────────────────┴────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                     ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                     │ 20276.82ms │
│ Total Time (perf_projection-func-deps-early-return)   │ 20196.56ms │
│ Average Time (HEAD)                                   │   471.55ms │
│ Average Time (perf_projection-func-deps-early-return) │   469.69ms │
│ Queries Faster                                        │          2 │
│ Queries Slower                                        │          5 │
│ Queries with No Change                                │         36 │
│ Queries with Failure                                  │          0 │
└───────────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 105.0s
Peak memory 17.9 GiB
Avg memory 5.6 GiB
CPU user 994.9s
CPU sys 100.2s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 105.0s
Peak memory 18.1 GiB
Avg memory 5.8 GiB
CPU user 990.9s
CPU sys 102.8s
Peak spill 0 B

File an issue against this benchmark runner

Return None before collecting field names when the schema has no
functional dependencies, so every caller gets the fast path. Also
shorten the comments in aggregate_functional_dependencies and fix one
that described the source indices as a HashSet.
@adriangbot

Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

Instance: c4a-highcpu-48 (12 vCPU / 65 GiB)

Comparing perf/projection-func-deps-early-return (e773326) to c922f88 (merge-base) diff

Run configuration
run benchmark sql_planner
CPU Details (lscpu)
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  48
On-line CPU(s) list:                     0-47
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   1
Thread(s) per core:                      1
Core(s) per cluster:                     48
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:                               3 MiB (48 instances)
L1i cache:                               3 MiB (48 instances)
L2 cache:                                96 MiB (48 instances)
L3 cache:                                80 MiB (1 instance)
NUMA node(s):                            1
NUMA node0 CPU(s):                       0-47
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

group                                                 HEAD                                   perf_projection-func-deps-early-return
-----                                                 ----                                   --------------------------------------
logical_aggregate_with_join                           1.17    413.3±1.31µs        ? ?/sec    1.00    352.2±1.49µs        ? ?/sec
logical_correlated_subquery_exists                    1.20    249.3±0.77µs        ? ?/sec    1.00    208.1±0.67µs        ? ?/sec
logical_correlated_subquery_in                        1.19    251.0±1.17µs        ? ?/sec    1.00    211.0±1.28µs        ? ?/sec
logical_distinct_many_columns                         1.14    335.3±1.19µs        ? ?/sec    1.00    293.8±1.17µs        ? ?/sec
logical_join_4_with_agg_and_filter                    1.03    200.6±0.94µs        ? ?/sec    1.00    194.3±1.16µs        ? ?/sec
logical_join_8_with_agg_sort_limit                    1.04    359.2±1.18µs        ? ?/sec    1.00    346.1±1.24µs        ? ?/sec
logical_join_chain_16                                 1.01    637.2±1.39µs        ? ?/sec    1.00    628.2±4.86µs        ? ?/sec
logical_join_chain_4                                  1.06     79.5±0.22µs        ? ?/sec    1.00     75.1±0.27µs        ? ?/sec
logical_join_chain_8                                  1.03    210.6±0.46µs        ? ?/sec    1.00    203.9±0.47µs        ? ?/sec
logical_multiple_subqueries                           1.23    486.3±1.91µs        ? ?/sec    1.00    396.0±1.70µs        ? ?/sec
logical_nested_cte_4_levels                           1.11    221.4±1.47µs        ? ?/sec    1.00    199.8±0.73µs        ? ?/sec
logical_plan_struct_join_agg_sort                     1.01    125.6±1.13µs        ? ?/sec    1.00    124.6±0.50µs        ? ?/sec
logical_plan_tpcds_all                                1.02     83.0±0.25ms        ? ?/sec    1.00     81.4±0.14ms        ? ?/sec
logical_plan_tpch_all                                 1.00      5.6±0.03ms        ? ?/sec    1.01      5.6±0.02ms        ? ?/sec
logical_scalar_subquery                               1.24    269.2±1.03µs        ? ?/sec    1.00    217.8±0.86µs        ? ?/sec
logical_select_all_from_1000                          1.26      9.2±0.02ms        ? ?/sec    1.00      7.3±0.03ms        ? ?/sec
logical_select_one_from_700                           1.29    299.2±1.70µs        ? ?/sec    1.00    231.2±1.00µs        ? ?/sec
logical_trivial_join_high_numbered_columns            1.19    253.2±1.38µs        ? ?/sec    1.00    212.7±1.20µs        ? ?/sec
logical_trivial_join_low_numbered_columns             1.19    240.2±1.33µs        ? ?/sec    1.00    201.4±1.23µs        ? ?/sec
logical_union_4_branches                              1.27    395.3±1.44µs        ? ?/sec    1.00    312.4±1.36µs        ? ?/sec
logical_union_8_branches                              1.26    794.9±2.64µs        ? ?/sec    1.00    630.7±1.79µs        ? ?/sec
logical_wide_aggregate_1000_exprs                     1.06     44.3±0.10ms        ? ?/sec    1.00     42.0±0.12ms        ? ?/sec
logical_wide_aggregate_100_exprs                      1.06   1646.5±3.36µs        ? ?/sec    1.00   1552.2±3.04µs        ? ?/sec
logical_wide_case_50_exprs                            1.05   1816.8±6.27µs        ? ?/sec    1.00   1727.8±4.40µs        ? ?/sec
logical_wide_filter_200_predicates                    1.01   1330.0±8.99µs        ? ?/sec    1.00   1313.8±6.90µs        ? ?/sec
logical_wide_filter_50_predicates                     1.04    361.7±1.93µs        ? ?/sec    1.00    346.4±2.65µs        ? ?/sec
optimizer_correlated_exists                           1.03    230.8±0.49µs        ? ?/sec    1.00    223.3±0.57µs        ? ?/sec
optimizer_join_4_with_agg_filter                      1.00    411.1±1.02µs        ? ?/sec    1.00    409.6±1.96µs        ? ?/sec
optimizer_join_chain_4                                1.00    160.4±0.29µs        ? ?/sec    1.00    160.0±0.30µs        ? ?/sec
optimizer_join_chain_8                                1.01    552.9±0.79µs        ? ?/sec    1.00    547.2±0.55µs        ? ?/sec
optimizer_select_all_from_1000                        1.00      7.1±0.02ms        ? ?/sec    1.00      7.1±0.03ms        ? ?/sec
optimizer_select_one_from_700                         1.00    245.9±0.78µs        ? ?/sec    1.00    245.6±0.61µs        ? ?/sec
optimizer_tpcds_all                                   1.04    288.3±0.48ms        ? ?/sec    1.00    277.8±1.52ms        ? ?/sec
optimizer_tpch_all                                    1.00     15.7±0.02ms        ? ?/sec    1.00     15.8±0.03ms        ? ?/sec
optimizer_wide_aggregate_100                          1.02   1796.0±4.51µs        ? ?/sec    1.00   1756.9±3.12µs        ? ?/sec
optimizer_wide_filter_200                             1.01      4.0±0.01ms        ? ?/sec    1.00      3.9±0.01ms        ? ?/sec
physical_intersection                                 1.10    577.1±2.77µs        ? ?/sec    1.00    525.7±1.57µs        ? ?/sec
physical_join_consider_sort                           1.08   1054.4±2.84µs        ? ?/sec    1.00    977.0±5.58µs        ? ?/sec
physical_join_distinct                                1.22    235.4±1.23µs        ? ?/sec    1.00    193.5±1.29µs        ? ?/sec
physical_many_self_joins                              1.03      8.1±0.01ms        ? ?/sec    1.00      7.8±0.03ms        ? ?/sec
physical_plan_clickbench_all                          1.09    143.3±0.87ms        ? ?/sec    1.00    131.5±0.30ms        ? ?/sec
physical_plan_clickbench_q1                           1.06   1391.0±7.09µs        ? ?/sec    1.00   1311.0±7.29µs        ? ?/sec
physical_plan_clickbench_q10                          1.06  1991.8±11.80µs        ? ?/sec    1.00  1883.5±18.73µs        ? ?/sec
physical_plan_clickbench_q11                          1.06      2.2±0.02ms        ? ?/sec    1.00      2.0±0.02ms        ? ?/sec
physical_plan_clickbench_q12                          1.07      2.2±0.02ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q13                          1.06      2.0±0.02ms        ? ?/sec    1.00   1904.8±4.39µs        ? ?/sec
physical_plan_clickbench_q14                          1.06      2.1±0.03ms        ? ?/sec    1.00      2.0±0.00ms        ? ?/sec
physical_plan_clickbench_q15                          1.06      2.1±0.02ms        ? ?/sec    1.00   1964.3±5.66µs        ? ?/sec
physical_plan_clickbench_q16                          1.06   1769.4±8.51µs        ? ?/sec    1.00   1669.3±4.27µs        ? ?/sec
physical_plan_clickbench_q17                          1.06  1827.9±11.91µs        ? ?/sec    1.00   1716.8±5.27µs        ? ?/sec
physical_plan_clickbench_q18                          1.06   1666.9±8.46µs        ? ?/sec    1.00   1574.3±4.53µs        ? ?/sec
physical_plan_clickbench_q19                          1.08      2.0±0.02ms        ? ?/sec    1.00   1901.5±4.16µs        ? ?/sec
physical_plan_clickbench_q2                           1.06  1770.0±13.61µs        ? ?/sec    1.00   1674.0±7.24µs        ? ?/sec
physical_plan_clickbench_q20                          1.05   1560.1±9.95µs        ? ?/sec    1.00   1483.9±5.30µs        ? ?/sec
physical_plan_clickbench_q21                          1.06  1768.9±13.58µs        ? ?/sec    1.00   1662.6±4.95µs        ? ?/sec
physical_plan_clickbench_q22                          1.07      2.2±0.03ms        ? ?/sec    1.00      2.0±0.01ms        ? ?/sec
physical_plan_clickbench_q23                          1.08      2.3±0.03ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q24                          1.11      5.4±0.03ms        ? ?/sec    1.00      4.9±0.04ms        ? ?/sec
physical_plan_clickbench_q25                          1.07  1896.8±18.67µs        ? ?/sec    1.00   1773.2±5.74µs        ? ?/sec
physical_plan_clickbench_q26                          1.05  1726.4±15.58µs        ? ?/sec    1.00   1647.1±5.27µs        ? ?/sec
physical_plan_clickbench_q27                          1.06  1928.7±18.37µs        ? ?/sec    1.00   1815.4±5.12µs        ? ?/sec
physical_plan_clickbench_q28                          1.08      2.3±0.03ms        ? ?/sec    1.00      2.1±0.00ms        ? ?/sec
physical_plan_clickbench_q29                          1.08      2.4±0.04ms        ? ?/sec    1.00      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q3                           1.06  1646.3±14.90µs        ? ?/sec    1.00   1556.4±5.83µs        ? ?/sec
physical_plan_clickbench_q30                          1.07     13.3±0.03ms        ? ?/sec    1.00     12.4±0.05ms        ? ?/sec
physical_plan_clickbench_q31                          1.10      2.4±0.02ms        ? ?/sec    1.00      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q32                          1.09      2.4±0.02ms        ? ?/sec    1.00      2.2±0.00ms        ? ?/sec
physical_plan_clickbench_q33                          1.08      2.0±0.01ms        ? ?/sec    1.00   1865.9±3.73µs        ? ?/sec
physical_plan_clickbench_q34                          1.07  1805.5±11.00µs        ? ?/sec    1.00   1684.8±8.68µs        ? ?/sec
physical_plan_clickbench_q35                          1.07  1842.5±15.57µs        ? ?/sec    1.00   1714.4±4.19µs        ? ?/sec
physical_plan_clickbench_q36                          1.07      2.1±0.02ms        ? ?/sec    1.00   1964.4±6.69µs        ? ?/sec
physical_plan_clickbench_q37                          1.08      2.6±0.02ms        ? ?/sec    1.00      2.4±0.02ms        ? ?/sec
physical_plan_clickbench_q38                          1.08      2.6±0.03ms        ? ?/sec    1.00      2.4±0.02ms        ? ?/sec
physical_plan_clickbench_q39                          1.09      2.7±0.03ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q4                           1.07  1503.0±13.87µs        ? ?/sec    1.00   1401.6±3.64µs        ? ?/sec
physical_plan_clickbench_q40                          1.11      3.4±0.05ms        ? ?/sec    1.00      3.1±0.01ms        ? ?/sec
physical_plan_clickbench_q41                          1.09      2.9±0.04ms        ? ?/sec    1.00      2.7±0.01ms        ? ?/sec
physical_plan_clickbench_q42                          1.08      2.9±0.05ms        ? ?/sec    1.00      2.7±0.01ms        ? ?/sec
physical_plan_clickbench_q43                          1.10      3.2±0.04ms        ? ?/sec    1.00      2.9±0.01ms        ? ?/sec
physical_plan_clickbench_q44                          1.07   1586.7±5.80µs        ? ?/sec    1.00   1479.2±3.56µs        ? ?/sec
physical_plan_clickbench_q45                          1.07   1591.5±7.31µs        ? ?/sec    1.00   1485.3±3.63µs        ? ?/sec
physical_plan_clickbench_q46                          1.07  1847.8±13.16µs        ? ?/sec    1.00   1721.0±4.22µs        ? ?/sec
physical_plan_clickbench_q47                          1.10      2.5±0.03ms        ? ?/sec    1.00      2.3±0.01ms        ? ?/sec
physical_plan_clickbench_q48                          1.08      2.6±0.03ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q49                          1.09      2.7±0.03ms        ? ?/sec    1.00      2.5±0.01ms        ? ?/sec
physical_plan_clickbench_q5                           1.06   1606.2±8.12µs        ? ?/sec    1.00   1508.3±5.12µs        ? ?/sec
physical_plan_clickbench_q50                          1.09      2.7±0.03ms        ? ?/sec    1.00      2.5±0.00ms        ? ?/sec
physical_plan_clickbench_q51                          1.07  1959.6±14.17µs        ? ?/sec    1.00   1832.6±4.20µs        ? ?/sec
physical_plan_clickbench_q52                          1.09      2.5±0.03ms        ? ?/sec    1.00      2.3±0.00ms        ? ?/sec
physical_plan_clickbench_q53                          1.06  1787.5±11.73µs        ? ?/sec    1.00   1685.6±4.71µs        ? ?/sec
physical_plan_clickbench_q54                          1.06  1789.8±14.69µs        ? ?/sec    1.00   1690.6±5.04µs        ? ?/sec
physical_plan_clickbench_q55                          1.05  1696.9±16.13µs        ? ?/sec    1.00   1621.5±4.33µs        ? ?/sec
physical_plan_clickbench_q56                          1.05  1702.8±10.48µs        ? ?/sec    1.00   1621.4±5.05µs        ? ?/sec
physical_plan_clickbench_q57                          1.05  1816.9±12.37µs        ? ?/sec    1.00   1733.9±5.56µs        ? ?/sec
physical_plan_clickbench_q58                          1.06      2.3±0.03ms        ? ?/sec    1.00      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q59                          1.08  1752.1±18.09µs        ? ?/sec    1.00   1629.7±4.00µs        ? ?/sec
physical_plan_clickbench_q6                           1.07  1615.0±10.11µs        ? ?/sec    1.00   1513.1±4.80µs        ? ?/sec
physical_plan_clickbench_q60                          1.06  1737.8±14.83µs        ? ?/sec    1.00   1638.8±4.83µs        ? ?/sec
physical_plan_clickbench_q7                           1.07   1449.0±7.26µs        ? ?/sec    1.00   1357.3±3.19µs        ? ?/sec
physical_plan_clickbench_q8                           1.06  1958.8±26.81µs        ? ?/sec    1.00   1845.0±4.85µs        ? ?/sec
physical_plan_clickbench_q9                           1.06  1883.8±14.70µs        ? ?/sec    1.00   1774.5±4.39µs        ? ?/sec
physical_plan_struct_join_agg_sort                    1.00   1223.2±4.06µs        ? ?/sec    1.00   1217.3±4.64µs        ? ?/sec
physical_plan_tpcds_all                               1.03    661.4±1.14ms        ? ?/sec    1.00   639.1±10.21ms        ? ?/sec
physical_plan_tpch_all                                1.00     42.0±0.18ms        ? ?/sec    1.00     41.9±0.10ms        ? ?/sec
physical_plan_tpch_q1                                 1.00   1400.4±3.87µs        ? ?/sec    1.01   1409.1±2.46µs        ? ?/sec
physical_plan_tpch_q10                                1.00      2.3±0.01ms        ? ?/sec    1.00      2.3±0.00ms        ? ?/sec
physical_plan_tpch_q11                                1.00      2.1±0.01ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
physical_plan_tpch_q12                                1.00   1203.6±4.08µs        ? ?/sec    1.02  1229.7±10.14µs        ? ?/sec
physical_plan_tpch_q13                                1.00    978.2±2.01µs        ? ?/sec    1.02    999.7±6.54µs        ? ?/sec
physical_plan_tpch_q14                                1.00   1297.0±3.78µs        ? ?/sec    1.01   1311.5±2.74µs        ? ?/sec
physical_plan_tpch_q16                                1.00   1565.4±3.79µs        ? ?/sec    1.01   1581.9±4.26µs        ? ?/sec
physical_plan_tpch_q17                                1.00   1587.2±4.90µs        ? ?/sec    1.01   1599.7±3.04µs        ? ?/sec
physical_plan_tpch_q18                                1.00   1859.8±7.12µs        ? ?/sec    1.00   1853.5±3.70µs        ? ?/sec
physical_plan_tpch_q19                                1.00   1789.1±4.59µs        ? ?/sec    1.01  1815.8±15.45µs        ? ?/sec
physical_plan_tpch_q2                                 1.00      3.5±0.02ms        ? ?/sec    1.02      3.6±0.02ms        ? ?/sec
physical_plan_tpch_q20                                1.00      2.0±0.01ms        ? ?/sec    1.03      2.1±0.02ms        ? ?/sec
physical_plan_tpch_q21                                1.00      2.6±0.01ms        ? ?/sec    1.01      2.6±0.02ms        ? ?/sec
physical_plan_tpch_q22                                1.00   1457.3±4.99µs        ? ?/sec    1.02   1486.5±4.58µs        ? ?/sec
physical_plan_tpch_q3                                 1.00   1703.6±5.08µs        ? ?/sec    1.02   1733.6±6.91µs        ? ?/sec
physical_plan_tpch_q4                                 1.00   1069.5±3.24µs        ? ?/sec    1.03   1098.9±3.31µs        ? ?/sec
physical_plan_tpch_q5                                 1.04      2.5±0.01ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_plan_tpch_q6                                 1.00    573.0±1.76µs        ? ?/sec    1.03    592.2±1.10µs        ? ?/sec
physical_plan_tpch_q7                                 1.00      2.6±0.01ms        ? ?/sec    1.01      2.6±0.02ms        ? ?/sec
physical_plan_tpch_q8                                 1.01      3.6±0.02ms        ? ?/sec    1.00      3.6±0.01ms        ? ?/sec
physical_plan_tpch_q9                                 1.00      2.6±0.01ms        ? ?/sec    1.01      2.6±0.00ms        ? ?/sec
physical_select_aggregates_from_200                   1.04      8.0±0.02ms        ? ?/sec    1.00      7.7±0.02ms        ? ?/sec
physical_select_all_from_1000                         1.15     20.8±0.08ms        ? ?/sec    1.00     18.0±0.09ms        ? ?/sec
physical_select_one_from_700                          1.17    758.8±2.35µs        ? ?/sec    1.00    651.0±2.25µs        ? ?/sec
physical_sorted_union_order_by_10_int64               1.04      3.7±0.02ms        ? ?/sec    1.00      3.6±0.01ms        ? ?/sec
physical_sorted_union_order_by_10_uint64              1.07      7.5±0.02ms        ? ?/sec    1.00      7.1±0.02ms        ? ?/sec
physical_sorted_union_order_by_50_int64               1.04     83.8±0.24ms        ? ?/sec    1.00     80.9±0.57ms        ? ?/sec
physical_sorted_union_order_by_50_uint64              1.16    306.3±1.14ms        ? ?/sec    1.00    264.3±1.13ms        ? ?/sec
physical_theta_join_consider_sort                     1.08   1079.3±3.80µs        ? ?/sec    1.00   1002.2±5.80µs        ? ?/sec
physical_unnest_to_join                               1.12    626.9±1.62µs        ? ?/sec    1.00    558.6±2.25µs        ? ?/sec
physical_window_function_partition_by_12_on_values    1.01    649.4±1.37µs        ? ?/sec    1.00    643.3±2.30µs        ? ?/sec
physical_window_function_partition_by_30_on_values    1.02   1282.8±1.93µs        ? ?/sec    1.00   1263.4±2.68µs        ? ?/sec
physical_window_function_partition_by_4_on_values     1.00    391.5±0.97µs        ? ?/sec    1.02    397.6±1.57µs        ? ?/sec
physical_window_function_partition_by_7_on_values     1.00    481.7±1.03µs        ? ?/sec    1.03    496.7±1.15µs        ? ?/sec
physical_window_function_partition_by_8_on_values     1.00    522.8±1.30µs        ? ?/sec    1.00    522.3±1.35µs        ? ?/sec
with_param_values_many_columns                        1.15    435.2±2.12µs        ? ?/sec    1.00    376.9±2.15µs        ? ?/sec

Resource Usage

sql_planner — base (merge-base)

Metric Value
Wall time 2105.5s
Peak memory 138.9 MiB
Avg memory 89.0 MiB
CPU user 2015.1s
CPU sys 1.5s
Peak spill 0 B

sql_planner — branch

Metric Value
Wall time 2085.5s
Peak memory 136.2 MiB
Avg memory 86.8 MiB
CPU user 1993.5s
CPU sys 1.5s
Peak spill 0 B

File an issue against this benchmark runner

@dwsmith1983
dwsmith1983 requested a review from adriangb October 3, 2026 17:43
@adriangb
adriangb added this pull request to the merge queue Oct 3, 2026
Merged via the queue into apache:main with commit 14b8de8 Oct 3, 2026
42 checks passed
@dwsmith1983
dwsmith1983 deleted the perf/projection-func-deps-early-return branch October 4, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to common crate logical-expr Logical plan and expressions v56.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants