Skip to content

Avoid rerunning no-op logical optimizer rules#22412

Closed
Dandandan wants to merge 4 commits into
apache:mainfrom
Dandandan:optimizer-skip-unchanged-noop-rules
Closed

Avoid rerunning no-op logical optimizer rules#22412
Dandandan wants to merge 4 commits into
apache:mainfrom
Dandandan:optimizer-skip-unchanged-noop-rules

Conversation

@Dandandan
Copy link
Copy Markdown
Contributor

@Dandandan Dandandan commented May 21, 2026

Which issue does this PR close?

Rationale for this change

The logical optimizer currently reruns every rule on each pass. If a rule already returned Transformed::no and no later rule has changed the plan since then, rerunning that rule does not add new information and adds planning cost.

  • Baseline optimizer: 607.259 us/query vs patched optimizer: 409.473 us/query

What changes are included in this PR?

This tracks a cheap plan version inside Optimizer::optimize. The version increments whenever a rule reports transformed = true. If a rule previously returned Transformed::no for the current plan version, the optimizer skips rerunning it until some rule changes the plan.

Are these changes tested?

Existing tests

Are there any user-facing changes?

No

@Dandandan Dandandan marked this pull request as ready for review May 21, 2026 09:45
@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmark sql_planner

@adriangbot
Copy link
Copy Markdown

🤖 Criterion benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4506870838-251-8dgkw 6.12.68+ #1 SMP Wed Apr 1 02:23:28 UTC 2026 aarch64 GNU/Linux

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

Comparing optimizer-skip-unchanged-noop-rules (2e0e199) to 0da8961 (merge-base) diff
BENCH_NAME=sql_planner
BENCH_COMMAND=cargo bench --features=parquet --bench sql_planner
BENCH_FILTER=
Results will be posted here when complete


File an issue against this benchmark runner

@Dandandan Dandandan marked this pull request as draft May 21, 2026 10:01
@github-actions github-actions Bot added optimizer Optimizer rules sqllogictest SQL Logic Tests (.slt) labels May 21, 2026
@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmark sql_planner

@adriangbot
Copy link
Copy Markdown

🤖 Criterion benchmark completed (GKE) | trigger

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

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

group                                                 main                                   optimizer-skip-unchanged-noop-rules
-----                                                 ----                                   -----------------------------------
logical_aggregate_with_join                           1.02    420.8±2.52µs        ? ?/sec    1.00    412.8±1.33µs        ? ?/sec
logical_correlated_subquery_exists                    1.02    252.5±0.94µs        ? ?/sec    1.00    248.7±0.84µs        ? ?/sec
logical_correlated_subquery_in                        1.01    253.1±0.64µs        ? ?/sec    1.00    250.2±0.94µs        ? ?/sec
logical_distinct_many_columns                         1.01    320.1±0.60µs        ? ?/sec    1.00    316.2±0.79µs        ? ?/sec
logical_join_4_with_agg_and_filter                    1.00    237.6±0.76µs        ? ?/sec    1.00    238.4±1.93µs        ? ?/sec
logical_join_8_with_agg_sort_limit                    1.01    410.5±1.58µs        ? ?/sec    1.00    404.9±2.15µs        ? ?/sec
logical_join_chain_16                                 1.00    660.3±3.35µs        ? ?/sec    1.00    657.4±2.80µs        ? ?/sec
logical_join_chain_4                                  1.02    116.8±0.36µs        ? ?/sec    1.00    114.8±0.29µs        ? ?/sec
logical_join_chain_8                                  1.01    243.7±0.80µs        ? ?/sec    1.00    240.9±0.69µs        ? ?/sec
logical_multiple_subqueries                           1.01    453.3±1.33µs        ? ?/sec    1.00    448.2±1.34µs        ? ?/sec
logical_nested_cte_4_levels                           1.01    241.6±0.88µs        ? ?/sec    1.00    238.5±0.98µs        ? ?/sec
logical_plan_struct_join_agg_sort                     1.03    174.0±0.71µs        ? ?/sec    1.00    169.1±0.90µs        ? ?/sec
logical_plan_tpcds_all                                1.01     73.6±0.15ms        ? ?/sec    1.00     73.0±0.09ms        ? ?/sec
logical_plan_tpch_all                                 1.01      5.7±0.02ms        ? ?/sec    1.00      5.6±0.01ms        ? ?/sec
logical_scalar_subquery                               1.02    275.5±0.88µs        ? ?/sec    1.00    269.9±1.00µs        ? ?/sec
logical_select_all_from_1000                          1.01      8.0±0.04ms        ? ?/sec    1.00      8.0±0.03ms        ? ?/sec
logical_select_one_from_700                           1.02    279.3±1.84µs        ? ?/sec    1.00    272.8±1.79µs        ? ?/sec
logical_trivial_join_high_numbered_columns            1.01    259.0±1.00µs        ? ?/sec    1.00    256.1±1.83µs        ? ?/sec
logical_trivial_join_low_numbered_columns             1.03    249.4±1.09µs        ? ?/sec    1.00    242.8±1.59µs        ? ?/sec
logical_union_4_branches                              1.01    359.3±1.54µs        ? ?/sec    1.00    356.2±0.77µs        ? ?/sec
logical_union_8_branches                              1.00    681.7±2.35µs        ? ?/sec    1.00    678.9±1.69µs        ? ?/sec
logical_wide_aggregate_100_exprs                      1.00      3.7±0.01ms        ? ?/sec    1.00      3.7±0.01ms        ? ?/sec
logical_wide_case_50_exprs                            1.00   1669.6±5.47µs        ? ?/sec    1.00   1661.8±9.68µs        ? ?/sec
logical_wide_filter_200_predicates                    1.00   1286.4±8.34µs        ? ?/sec    1.00   1291.1±7.89µs        ? ?/sec
logical_wide_filter_50_predicates                     1.00    370.1±2.03µs        ? ?/sec    1.00    371.2±2.38µs        ? ?/sec
optimizer_correlated_exists                           1.00    252.9±1.04µs        ? ?/sec    1.01    254.8±1.23µs        ? ?/sec
optimizer_join_4_with_agg_filter                      1.00    429.3±1.19µs        ? ?/sec    1.02    438.5±2.18µs        ? ?/sec
optimizer_join_chain_4                                1.00    177.8±0.41µs        ? ?/sec    1.02    181.7±0.36µs        ? ?/sec
optimizer_join_chain_8                                1.00    555.8±0.96µs        ? ?/sec    1.01    559.5±1.11µs        ? ?/sec
optimizer_select_all_from_1000                        1.00      4.6±0.01ms        ? ?/sec    1.00      4.6±0.01ms        ? ?/sec
optimizer_select_one_from_700                         1.01    260.3±0.75µs        ? ?/sec    1.00    257.3±1.83µs        ? ?/sec
optimizer_tpcds_all                                   1.00    254.6±0.21ms        ? ?/sec    1.00    255.6±0.22ms        ? ?/sec
optimizer_tpch_all                                    1.00     14.3±0.02ms        ? ?/sec    1.01     14.5±0.03ms        ? ?/sec
optimizer_wide_aggregate_100                          1.00      2.1±0.00ms        ? ?/sec    1.00      2.1±0.00ms        ? ?/sec
optimizer_wide_filter_200                             1.00      3.9±0.01ms        ? ?/sec    1.01      3.9±0.00ms        ? ?/sec
physical_intersection                                 1.01    553.2±1.64µs        ? ?/sec    1.00    550.3±1.83µs        ? ?/sec
physical_join_consider_sort                           1.00    983.9±1.68µs        ? ?/sec    1.00    983.6±1.42µs        ? ?/sec
physical_join_distinct                                1.02    241.2±0.85µs        ? ?/sec    1.00    235.3±0.66µs        ? ?/sec
physical_many_self_joins                              1.01      7.6±0.01ms        ? ?/sec    1.00      7.5±0.01ms        ? ?/sec
physical_plan_clickbench_all                          1.00    119.6±0.28ms        ? ?/sec    1.00    120.0±0.33ms        ? ?/sec
physical_plan_clickbench_q1                           1.00   1277.4±5.80µs        ? ?/sec    1.00   1283.0±6.01µs        ? ?/sec
physical_plan_clickbench_q10                          1.02   1902.6±6.20µs        ? ?/sec    1.00   1869.4±5.50µs        ? ?/sec
physical_plan_clickbench_q11                          1.01      2.1±0.01ms        ? ?/sec    1.00      2.1±0.00ms        ? ?/sec
physical_plan_clickbench_q12                          1.01      2.2±0.01ms        ? ?/sec    1.00      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q13                          1.00   1920.4±5.89µs        ? ?/sec    1.01   1943.2±5.04µs        ? ?/sec
physical_plan_clickbench_q14                          1.00      2.1±0.01ms        ? ?/sec    1.02      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q15                          1.00   1971.3±5.35µs        ? ?/sec    1.02      2.0±0.00ms        ? ?/sec
physical_plan_clickbench_q16                          1.00   1640.7±5.17µs        ? ?/sec    1.02   1668.3±5.84µs        ? ?/sec
physical_plan_clickbench_q17                          1.00   1684.6±5.88µs        ? ?/sec    1.00   1681.4±5.13µs        ? ?/sec
physical_plan_clickbench_q18                          1.00   1548.4±6.32µs        ? ?/sec    1.00   1545.6±5.78µs        ? ?/sec
physical_plan_clickbench_q19                          1.00   1884.5±5.38µs        ? ?/sec    1.00   1885.9±5.48µs        ? ?/sec
physical_plan_clickbench_q2                           1.00   1680.0±5.00µs        ? ?/sec    1.01   1689.3±5.52µs        ? ?/sec
physical_plan_clickbench_q20                          1.00   1472.3±5.38µs        ? ?/sec    1.00   1471.8±5.97µs        ? ?/sec
physical_plan_clickbench_q21                          1.00   1685.0±4.99µs        ? ?/sec    1.00   1687.3±5.70µs        ? ?/sec
physical_plan_clickbench_q22                          1.00      2.0±0.01ms        ? ?/sec    1.01      2.0±0.00ms        ? ?/sec
physical_plan_clickbench_q23                          1.00      2.2±0.01ms        ? ?/sec    1.01      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q24                          1.01      5.5±0.01ms        ? ?/sec    1.00      5.4±0.01ms        ? ?/sec
physical_plan_clickbench_q25                          1.01   1847.1±5.12µs        ? ?/sec    1.00   1824.6±4.65µs        ? ?/sec
physical_plan_clickbench_q26                          1.01  1684.1±14.67µs        ? ?/sec    1.00   1665.6±4.92µs        ? ?/sec
physical_plan_clickbench_q27                          1.00   1838.2±5.91µs        ? ?/sec    1.00   1844.7±5.03µs        ? ?/sec
physical_plan_clickbench_q28                          1.00      2.2±0.01ms        ? ?/sec    1.00      2.2±0.00ms        ? ?/sec
physical_plan_clickbench_q29                          1.00      2.4±0.00ms        ? ?/sec    1.01      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q3                           1.00   1535.8±5.37µs        ? ?/sec    1.00   1538.2±5.66µs        ? ?/sec
physical_plan_clickbench_q30                          1.00     14.5±0.03ms        ? ?/sec    1.00     14.5±0.05ms        ? ?/sec
physical_plan_clickbench_q31                          1.01      2.3±0.02ms        ? ?/sec    1.00      2.3±0.01ms        ? ?/sec
physical_plan_clickbench_q32                          1.01      2.3±0.02ms        ? ?/sec    1.00      2.3±0.01ms        ? ?/sec
physical_plan_clickbench_q33                          1.00   1879.8±5.14µs        ? ?/sec    1.01  1890.9±13.31µs        ? ?/sec
physical_plan_clickbench_q34                          1.01   1666.2±5.43µs        ? ?/sec    1.00   1655.6±5.72µs        ? ?/sec
physical_plan_clickbench_q35                          1.00   1711.1±6.12µs        ? ?/sec    1.01   1720.3±4.55µs        ? ?/sec
physical_plan_clickbench_q36                          1.00   1982.8±5.06µs        ? ?/sec    1.01   1999.0±5.86µs        ? ?/sec
physical_plan_clickbench_q37                          1.00      2.4±0.01ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q38                          1.00      2.4±0.02ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q39                          1.00      2.4±0.02ms        ? ?/sec    1.00      2.5±0.01ms        ? ?/sec
physical_plan_clickbench_q4                           1.01   1381.6±6.70µs        ? ?/sec    1.00   1366.0±5.71µs        ? ?/sec
physical_plan_clickbench_q40                          1.00      3.2±0.01ms        ? ?/sec    1.00      3.2±0.01ms        ? ?/sec
physical_plan_clickbench_q41                          1.00      2.7±0.01ms        ? ?/sec    1.00      2.7±0.01ms        ? ?/sec
physical_plan_clickbench_q42                          1.00      2.9±0.01ms        ? ?/sec    1.00      2.9±0.00ms        ? ?/sec
physical_plan_clickbench_q43                          1.00      3.0±0.01ms        ? ?/sec    1.00      3.0±0.01ms        ? ?/sec
physical_plan_clickbench_q44                          1.02   1473.0±5.84µs        ? ?/sec    1.00   1446.3±5.86µs        ? ?/sec
physical_plan_clickbench_q45                          1.02   1475.4±6.08µs        ? ?/sec    1.00   1450.8±4.48µs        ? ?/sec
physical_plan_clickbench_q46                          1.01   1770.8±5.49µs        ? ?/sec    1.00   1749.2±5.31µs        ? ?/sec
physical_plan_clickbench_q47                          1.01      2.5±0.00ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q48                          1.00      2.7±0.01ms        ? ?/sec    1.00      2.7±0.01ms        ? ?/sec
physical_plan_clickbench_q49                          1.00      2.7±0.01ms        ? ?/sec    1.00      2.7±0.01ms        ? ?/sec
physical_plan_clickbench_q5                           1.02   1528.0±8.53µs        ? ?/sec    1.00   1503.1±9.50µs        ? ?/sec
physical_plan_clickbench_q50                          1.01      2.6±0.01ms        ? ?/sec    1.00      2.6±0.00ms        ? ?/sec
physical_plan_clickbench_q51                          1.00   1844.2±5.30µs        ? ?/sec    1.00   1837.0±5.23µs        ? ?/sec
physical_plan_clickbench_q6                           1.00   1513.6±5.48µs        ? ?/sec    1.01  1531.3±14.21µs        ? ?/sec
physical_plan_clickbench_q7                           1.00   1342.0±5.91µs        ? ?/sec    1.00   1340.0±5.63µs        ? ?/sec
physical_plan_clickbench_q8                           1.00   1838.9±6.61µs        ? ?/sec    1.00   1841.0±5.35µs        ? ?/sec
physical_plan_clickbench_q9                           1.01   1807.6±5.33µs        ? ?/sec    1.00   1791.9±5.31µs        ? ?/sec
physical_plan_struct_join_agg_sort                    1.00   1219.5±4.55µs        ? ?/sec    1.01   1229.4±2.11µs        ? ?/sec
physical_plan_tpcds_all                               1.00    649.6±0.58ms        ? ?/sec    1.01    653.8±1.29ms        ? ?/sec
physical_plan_tpch_all                                1.00     42.6±0.04ms        ? ?/sec    1.01     42.9±0.05ms        ? ?/sec
physical_plan_tpch_q1                                 1.00   1413.2±8.58µs        ? ?/sec    1.00   1409.5±4.43µs        ? ?/sec
physical_plan_tpch_q10                                1.00      2.7±0.00ms        ? ?/sec    1.00      2.7±0.00ms        ? ?/sec
physical_plan_tpch_q11                                1.00      2.1±0.00ms        ? ?/sec    1.00      2.1±0.00ms        ? ?/sec
physical_plan_tpch_q12                                1.01   1140.8±3.83µs        ? ?/sec    1.00   1133.8±2.06µs        ? ?/sec
physical_plan_tpch_q13                                1.01    888.2±1.41µs        ? ?/sec    1.00    883.3±3.20µs        ? ?/sec
physical_plan_tpch_q14                                1.01   1306.5±2.46µs        ? ?/sec    1.00   1294.4±3.16µs        ? ?/sec
physical_plan_tpch_q16                                1.00   1472.3±3.24µs        ? ?/sec    1.00   1469.3±2.38µs        ? ?/sec
physical_plan_tpch_q17                                1.00   1610.0±2.20µs        ? ?/sec    1.00   1606.4±2.14µs        ? ?/sec
physical_plan_tpch_q18                                1.00   1717.7±3.35µs        ? ?/sec    1.00   1715.7±1.85µs        ? ?/sec
physical_plan_tpch_q19                                1.00   1652.0±3.96µs        ? ?/sec    1.00   1648.9±2.59µs        ? ?/sec
physical_plan_tpch_q2                                 1.00      3.9±0.02ms        ? ?/sec    1.00      3.9±0.02ms        ? ?/sec
physical_plan_tpch_q20                                1.00      2.1±0.00ms        ? ?/sec    1.00      2.1±0.00ms        ? ?/sec
physical_plan_tpch_q21                                1.00      2.8±0.00ms        ? ?/sec    1.01      2.8±0.00ms        ? ?/sec
physical_plan_tpch_q22                                1.00   1483.2±1.97µs        ? ?/sec    1.00   1487.9±2.13µs        ? ?/sec
physical_plan_tpch_q3                                 1.00   1797.5±3.39µs        ? ?/sec    1.00   1800.5±8.73µs        ? ?/sec
physical_plan_tpch_q4                                 1.00   1097.7±3.68µs        ? ?/sec    1.00   1097.0±6.07µs        ? ?/sec
physical_plan_tpch_q5                                 1.00      2.4±0.02ms        ? ?/sec    1.00      2.4±0.01ms        ? ?/sec
physical_plan_tpch_q6                                 1.01    602.8±5.17µs        ? ?/sec    1.00    599.1±3.33µs        ? ?/sec
physical_plan_tpch_q7                                 1.00      2.9±0.00ms        ? ?/sec    1.00      2.9±0.00ms        ? ?/sec
physical_plan_tpch_q8                                 1.00      3.8±0.00ms        ? ?/sec    1.00      3.9±0.00ms        ? ?/sec
physical_plan_tpch_q9                                 1.00      2.7±0.00ms        ? ?/sec    1.00      2.7±0.00ms        ? ?/sec
physical_select_aggregates_from_200                   1.00     13.3±0.03ms        ? ?/sec    1.00     13.4±0.03ms        ? ?/sec
physical_select_all_from_1000                         1.00     16.9±0.06ms        ? ?/sec    1.00     16.8±0.05ms        ? ?/sec
physical_select_one_from_700                          1.01    721.4±2.17µs        ? ?/sec    1.00    715.2±2.34µs        ? ?/sec
physical_sorted_union_order_by_10_int64               1.00      4.2±0.01ms        ? ?/sec    1.00      4.2±0.00ms        ? ?/sec
physical_sorted_union_order_by_10_uint64              1.00      8.2±0.03ms        ? ?/sec    1.00      8.2±0.01ms        ? ?/sec
physical_sorted_union_order_by_50_int64               1.00    104.0±0.32ms        ? ?/sec    1.00    103.7±0.20ms        ? ?/sec
physical_sorted_union_order_by_50_uint64              1.01    355.9±3.55ms        ? ?/sec    1.00    353.4±0.59ms        ? ?/sec
physical_theta_join_consider_sort                     1.00   1015.9±2.37µs        ? ?/sec    1.00   1014.4±1.84µs        ? ?/sec
physical_unnest_to_join                               1.01    632.9±2.12µs        ? ?/sec    1.00    628.3±1.30µs        ? ?/sec
physical_window_function_partition_by_12_on_values    1.01    698.2±3.53µs        ? ?/sec    1.00    691.9±1.42µs        ? ?/sec
physical_window_function_partition_by_30_on_values    1.00   1389.0±3.00µs        ? ?/sec    1.00   1387.4±2.76µs        ? ?/sec
physical_window_function_partition_by_4_on_values     1.00    419.7±1.41µs        ? ?/sec    1.00    418.6±1.59µs        ? ?/sec
physical_window_function_partition_by_7_on_values     1.00    519.5±1.11µs        ? ?/sec    1.00    518.4±1.79µs        ? ?/sec
physical_window_function_partition_by_8_on_values     1.01    558.3±2.10µs        ? ?/sec    1.00    555.1±1.88µs        ? ?/sec
with_param_values_many_columns                        1.01    432.9±1.90µs        ? ?/sec    1.00    428.5±3.36µs        ? ?/sec

Resource Usage

base (merge-base)

Metric Value
Wall time 1550.3s
Peak memory 19.8 GiB
Avg memory 19.7 GiB
CPU user 1868.0s
CPU sys 2.0s
Peak spill 0 B

branch

Metric Value
Wall time 1545.3s
Peak memory 19.8 GiB
Avg memory 19.8 GiB
CPU user 1863.8s
CPU sys 1.5s
Peak spill 0 B

File an issue against this benchmark runner

…anged-noop-rules

# Conflicts:
#	datafusion/optimizer/src/push_down_filter.rs
@adriangbot
Copy link
Copy Markdown

🤖 Criterion benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4507408799-252-pp8kw 6.12.68+ #1 SMP Wed Apr 1 02:23:28 UTC 2026 aarch64 GNU/Linux

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

Comparing optimizer-skip-unchanged-noop-rules (cfebeca) to 0da8961 (merge-base) diff
BENCH_NAME=sql_planner
BENCH_COMMAND=cargo bench --features=parquet --bench sql_planner
BENCH_FILTER=
Results will be posted here when complete


File an issue against this benchmark runner

- Move duplicated `transformed_if_changed` into `utils.rs` and use it
  from `decorrelate_predicate_subquery`, `eliminate_cross_join`,
  `optimize_unions`, and `push_down_join`.
- `eliminate_duplicated_expr`: track change inline via length comparison
  and skip the `Aggregate::try_new`/`Sort` rebuild when no duplicates
  are present — avoids both the helper call and the schema-recompute.
- `optimize_projections`: avoid cloning the whole `Window`/`TableScan`
  when nothing changes; OR `aggregate_changed` into the recursive
  result so the `Aggregate` branch reports `Transformed::yes` when FD
  pruning reduces group_expr/aggr_expr counts.
- `optimizer.rs`: extract the `Transformed::yes`/`no` consistency check
  into `assert_transformed_matches_plan` so the loop stays readable.
- `push_down_filter`: revert the simplify-predicate check to a
  length-based comparison (matches `simplify_predicates` actual
  semantics — it only changes content via merging, not reordering).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot removed the sqllogictest SQL Logic Tests (.slt) label May 21, 2026
@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmark sql_planner

@adriangbot
Copy link
Copy Markdown

🤖 Criterion benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4507988675-254-n5tp8 6.12.68+ #1 SMP Wed Apr 1 02:23:28 UTC 2026 aarch64 GNU/Linux

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

Comparing optimizer-skip-unchanged-noop-rules (29096cf) to d318324 (merge-base) diff
BENCH_NAME=sql_planner
BENCH_COMMAND=cargo bench --features=parquet --bench sql_planner
BENCH_FILTER=
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Criterion benchmark completed (GKE) | trigger

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

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

group                                                 main                                   optimizer-skip-unchanged-noop-rules
-----                                                 ----                                   -----------------------------------
logical_aggregate_with_join                           1.00    418.1±1.77µs        ? ?/sec    1.00    419.6±1.34µs        ? ?/sec
logical_correlated_subquery_exists                    1.00    252.3±1.03µs        ? ?/sec    1.00    253.0±0.83µs        ? ?/sec
logical_correlated_subquery_in                        1.00    252.2±0.54µs        ? ?/sec    1.00    253.5±0.57µs        ? ?/sec
logical_distinct_many_columns                         1.00    319.9±1.89µs        ? ?/sec    1.01    321.9±0.54µs        ? ?/sec
logical_join_4_with_agg_and_filter                    1.00    235.1±0.72µs        ? ?/sec    1.00    234.8±0.64µs        ? ?/sec
logical_join_8_with_agg_sort_limit                    1.01    405.4±2.22µs        ? ?/sec    1.00    400.2±1.63µs        ? ?/sec
logical_join_chain_16                                 1.01    663.9±2.84µs        ? ?/sec    1.00    659.5±2.85µs        ? ?/sec
logical_join_chain_4                                  1.00    115.6±0.49µs        ? ?/sec    1.00    116.2±0.36µs        ? ?/sec
logical_join_chain_8                                  1.00    244.1±0.89µs        ? ?/sec    1.00    243.5±0.80µs        ? ?/sec
logical_multiple_subqueries                           1.00    454.7±0.87µs        ? ?/sec    1.00    452.7±1.18µs        ? ?/sec
logical_nested_cte_4_levels                           1.01    239.7±2.34µs        ? ?/sec    1.00    236.2±1.72µs        ? ?/sec
logical_plan_struct_join_agg_sort                     1.00    167.9±1.82µs        ? ?/sec    1.00    167.9±0.67µs        ? ?/sec
logical_plan_tpcds_all                                1.00     73.9±0.18ms        ? ?/sec    1.00     74.3±0.12ms        ? ?/sec
logical_plan_tpch_all                                 1.00      5.7±0.01ms        ? ?/sec    1.01      5.7±0.01ms        ? ?/sec
logical_scalar_subquery                               1.00    274.7±1.57µs        ? ?/sec    1.00    273.4±0.56µs        ? ?/sec
logical_select_all_from_1000                          1.01      8.1±0.04ms        ? ?/sec    1.00      8.0±0.03ms        ? ?/sec
logical_select_one_from_700                           1.01    278.0±2.40µs        ? ?/sec    1.00    276.0±1.62µs        ? ?/sec
logical_trivial_join_high_numbered_columns            1.00    256.3±0.97µs        ? ?/sec    1.00    256.9±0.47µs        ? ?/sec
logical_trivial_join_low_numbered_columns             1.00    244.2±1.01µs        ? ?/sec    1.00    244.7±0.80µs        ? ?/sec
logical_union_4_branches                              1.00    357.3±3.03µs        ? ?/sec    1.00    357.6±0.99µs        ? ?/sec
logical_union_8_branches                              1.00    684.9±2.07µs        ? ?/sec    1.00    683.6±1.68µs        ? ?/sec
logical_wide_aggregate_100_exprs                      1.00      3.7±0.01ms        ? ?/sec    1.00      3.7±0.01ms        ? ?/sec
logical_wide_case_50_exprs                            1.00   1668.8±5.07µs        ? ?/sec    1.00   1671.4±9.19µs        ? ?/sec
logical_wide_filter_200_predicates                    1.00   1298.9±9.44µs        ? ?/sec    1.00   1302.4±6.57µs        ? ?/sec
logical_wide_filter_50_predicates                     1.01    375.1±2.58µs        ? ?/sec    1.00    372.3±1.94µs        ? ?/sec
optimizer_correlated_exists                           1.00    253.6±0.62µs        ? ?/sec    1.01    256.4±0.60µs        ? ?/sec
optimizer_join_4_with_agg_filter                      1.00    441.0±1.55µs        ? ?/sec    1.02    451.0±1.46µs        ? ?/sec
optimizer_join_chain_4                                1.00    178.9±0.45µs        ? ?/sec    1.02    182.4±0.47µs        ? ?/sec
optimizer_join_chain_8                                1.01    563.9±2.69µs        ? ?/sec    1.00    558.7±1.02µs        ? ?/sec
optimizer_select_all_from_1000                        1.00      4.6±0.01ms        ? ?/sec    1.04      4.8±0.01ms        ? ?/sec
optimizer_select_one_from_700                         1.02    260.9±0.61µs        ? ?/sec    1.00    255.3±0.48µs        ? ?/sec
optimizer_tpcds_all                                   1.00    256.1±0.26ms        ? ?/sec    1.02    262.2±0.32ms        ? ?/sec
optimizer_tpch_all                                    1.00     14.5±0.03ms        ? ?/sec    1.05     15.2±0.10ms        ? ?/sec
optimizer_wide_aggregate_100                          1.00      2.1±0.00ms        ? ?/sec    1.09      2.3±0.00ms        ? ?/sec
optimizer_wide_filter_200                             1.00      3.9±0.01ms        ? ?/sec    1.19      4.6±0.01ms        ? ?/sec
physical_intersection                                 1.00    553.1±1.82µs        ? ?/sec    1.01    558.6±1.09µs        ? ?/sec
physical_join_consider_sort                           1.01    996.4±3.20µs        ? ?/sec    1.00    991.2±5.61µs        ? ?/sec
physical_join_distinct                                1.00    238.1±1.26µs        ? ?/sec    1.00    238.5±0.60µs        ? ?/sec
physical_many_self_joins                              1.08      7.6±0.02ms        ? ?/sec    1.00      7.0±0.01ms        ? ?/sec
physical_plan_clickbench_all                          1.00    120.8±0.29ms        ? ?/sec    1.01    122.5±0.33ms        ? ?/sec
physical_plan_clickbench_q1                           1.00   1284.3±5.00µs        ? ?/sec    1.05   1343.5±6.09µs        ? ?/sec
physical_plan_clickbench_q10                          1.00   1921.5±7.66µs        ? ?/sec    1.03   1984.8±6.08µs        ? ?/sec
physical_plan_clickbench_q11                          1.00      2.1±0.01ms        ? ?/sec    1.04      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q12                          1.00      2.2±0.01ms        ? ?/sec    1.03      2.3±0.01ms        ? ?/sec
physical_plan_clickbench_q13                          1.00      2.0±0.01ms        ? ?/sec    1.04      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q14                          1.00      2.1±0.00ms        ? ?/sec    1.04      2.2±0.01ms        ? ?/sec
physical_plan_clickbench_q15                          1.00      2.0±0.01ms        ? ?/sec    1.04      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q16                          1.00   1683.4±6.40µs        ? ?/sec    1.04   1754.7±6.53µs        ? ?/sec
physical_plan_clickbench_q17                          1.00   1727.1±6.66µs        ? ?/sec    1.04   1801.7±6.79µs        ? ?/sec
physical_plan_clickbench_q18                          1.00   1589.5±6.66µs        ? ?/sec    1.05   1666.5±6.98µs        ? ?/sec
physical_plan_clickbench_q19                          1.00   1934.6±6.21µs        ? ?/sec    1.03   1996.5±5.56µs        ? ?/sec
physical_plan_clickbench_q2                           1.00   1718.4±5.94µs        ? ?/sec    1.03   1766.2±7.61µs        ? ?/sec
physical_plan_clickbench_q20                          1.00   1515.1±6.65µs        ? ?/sec    1.05   1592.3±6.74µs        ? ?/sec
physical_plan_clickbench_q21                          1.00   1735.8±5.46µs        ? ?/sec    1.05   1815.8±7.51µs        ? ?/sec
physical_plan_clickbench_q22                          1.00      2.1±0.01ms        ? ?/sec    1.00      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q23                          1.00      2.3±0.01ms        ? ?/sec    1.00      2.3±0.01ms        ? ?/sec
physical_plan_clickbench_q24                          1.00      5.4±0.01ms        ? ?/sec    1.00      5.4±0.02ms        ? ?/sec
physical_plan_clickbench_q25                          1.00   1844.9±5.50µs        ? ?/sec    1.05   1940.1±5.85µs        ? ?/sec
physical_plan_clickbench_q26                          1.00   1683.0±5.01µs        ? ?/sec    1.06   1775.9±7.08µs        ? ?/sec
physical_plan_clickbench_q27                          1.00   1854.0±5.98µs        ? ?/sec    1.06  1970.1±25.45µs        ? ?/sec
physical_plan_clickbench_q28                          1.00      2.3±0.01ms        ? ?/sec    1.01      2.3±0.01ms        ? ?/sec
physical_plan_clickbench_q29                          1.00      2.4±0.01ms        ? ?/sec    1.03      2.5±0.04ms        ? ?/sec
physical_plan_clickbench_q3                           1.00   1564.8±6.13µs        ? ?/sec    1.02   1603.4±7.02µs        ? ?/sec
physical_plan_clickbench_q30                          1.00     14.5±0.03ms        ? ?/sec    1.00     14.4±0.09ms        ? ?/sec
physical_plan_clickbench_q31                          1.00      2.3±0.01ms        ? ?/sec    1.01      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q32                          1.00      2.3±0.01ms        ? ?/sec    1.02      2.4±0.03ms        ? ?/sec
physical_plan_clickbench_q33                          1.00   1886.1±5.55µs        ? ?/sec    1.02  1918.6±20.12µs        ? ?/sec
physical_plan_clickbench_q34                          1.00   1666.1±5.43µs        ? ?/sec    1.02  1704.5±20.25µs        ? ?/sec
physical_plan_clickbench_q35                          1.00   1729.6±6.14µs        ? ?/sec    1.04  1802.0±19.79µs        ? ?/sec
physical_plan_clickbench_q36                          1.00   1995.0±5.64µs        ? ?/sec    1.04      2.1±0.02ms        ? ?/sec
physical_plan_clickbench_q37                          1.00      2.4±0.01ms        ? ?/sec    1.05      2.5±0.02ms        ? ?/sec
physical_plan_clickbench_q38                          1.00      2.4±0.01ms        ? ?/sec    1.04      2.5±0.01ms        ? ?/sec
physical_plan_clickbench_q39                          1.00      2.5±0.01ms        ? ?/sec    1.03      2.5±0.03ms        ? ?/sec
physical_plan_clickbench_q4                           1.00   1394.0±5.37µs        ? ?/sec    1.02   1422.3±6.86µs        ? ?/sec
physical_plan_clickbench_q40                          1.00      3.2±0.01ms        ? ?/sec    1.03      3.3±0.04ms        ? ?/sec
physical_plan_clickbench_q41                          1.00      2.7±0.01ms        ? ?/sec    1.01      2.8±0.02ms        ? ?/sec
physical_plan_clickbench_q42                          1.00      2.9±0.01ms        ? ?/sec    1.01      3.0±0.01ms        ? ?/sec
physical_plan_clickbench_q43                          1.00      3.0±0.01ms        ? ?/sec    1.00      3.1±0.01ms        ? ?/sec
physical_plan_clickbench_q44                          1.00   1469.9±5.11µs        ? ?/sec    1.03   1507.7±7.19µs        ? ?/sec
physical_plan_clickbench_q45                          1.00   1491.4±6.72µs        ? ?/sec    1.01   1510.2±6.39µs        ? ?/sec
physical_plan_clickbench_q46                          1.00   1784.8±5.65µs        ? ?/sec    1.01   1799.1±8.49µs        ? ?/sec
physical_plan_clickbench_q47                          1.00      2.5±0.01ms        ? ?/sec    1.01      2.5±0.01ms        ? ?/sec
physical_plan_clickbench_q48                          1.00      2.7±0.01ms        ? ?/sec    1.01      2.7±0.01ms        ? ?/sec
physical_plan_clickbench_q49                          1.00      2.7±0.01ms        ? ?/sec    1.00      2.8±0.01ms        ? ?/sec
physical_plan_clickbench_q5                           1.00   1522.7±6.55µs        ? ?/sec    1.02   1555.0±6.13µs        ? ?/sec
physical_plan_clickbench_q50                          1.00      2.6±0.01ms        ? ?/sec    1.06      2.8±0.01ms        ? ?/sec
physical_plan_clickbench_q51                          1.00   1870.3±5.72µs        ? ?/sec    1.02   1900.5±7.03µs        ? ?/sec
physical_plan_clickbench_q6                           1.00   1512.0±6.03µs        ? ?/sec    1.03   1562.6±9.04µs        ? ?/sec
physical_plan_clickbench_q7                           1.00   1351.6±5.49µs        ? ?/sec    1.06   1437.6±7.29µs        ? ?/sec
physical_plan_clickbench_q8                           1.00   1838.8±7.96µs        ? ?/sec    1.07   1959.9±6.76µs        ? ?/sec
physical_plan_clickbench_q9                           1.00   1783.8±6.29µs        ? ?/sec    1.06   1886.3±7.28µs        ? ?/sec
physical_plan_struct_join_agg_sort                    1.00   1231.0±7.98µs        ? ?/sec    1.02   1253.6±2.23µs        ? ?/sec
physical_plan_tpcds_all                               1.00    652.8±0.60ms        ? ?/sec    1.02    662.7±1.10ms        ? ?/sec
physical_plan_tpch_all                                1.00     42.9±0.05ms        ? ?/sec    1.03     44.0±0.07ms        ? ?/sec
physical_plan_tpch_q1                                 1.00   1420.8±3.37µs        ? ?/sec    1.03   1466.5±2.41µs        ? ?/sec
physical_plan_tpch_q10                                1.02      2.7±0.00ms        ? ?/sec    1.00      2.6±0.00ms        ? ?/sec
physical_plan_tpch_q11                                1.00      2.1±0.00ms        ? ?/sec    1.03      2.1±0.00ms        ? ?/sec
physical_plan_tpch_q12                                1.00   1140.3±1.95µs        ? ?/sec    1.05   1195.2±2.24µs        ? ?/sec
physical_plan_tpch_q13                                1.00    883.4±1.93µs        ? ?/sec    1.05    930.0±1.65µs        ? ?/sec
physical_plan_tpch_q14                                1.00   1307.7±9.70µs        ? ?/sec    1.03   1344.9±2.15µs        ? ?/sec
physical_plan_tpch_q16                                1.01  1477.7±11.29µs        ? ?/sec    1.00   1458.2±9.17µs        ? ?/sec
physical_plan_tpch_q17                                1.00   1605.7±2.37µs        ? ?/sec    1.04   1667.6±2.56µs        ? ?/sec
physical_plan_tpch_q18                                1.03   1726.2±2.51µs        ? ?/sec    1.00   1670.4±3.08µs        ? ?/sec
physical_plan_tpch_q19                                1.00   1647.5±2.61µs        ? ?/sec    1.08   1784.9±3.43µs        ? ?/sec
physical_plan_tpch_q2                                 1.00      3.9±0.01ms        ? ?/sec    1.03      4.1±0.01ms        ? ?/sec
physical_plan_tpch_q20                                1.00      2.1±0.00ms        ? ?/sec    1.06      2.2±0.01ms        ? ?/sec
physical_plan_tpch_q21                                1.00      2.8±0.00ms        ? ?/sec    1.01      2.9±0.00ms        ? ?/sec
physical_plan_tpch_q22                                1.00   1500.8±3.00µs        ? ?/sec    1.05   1579.7±3.10µs        ? ?/sec
physical_plan_tpch_q3                                 1.01   1778.9±3.42µs        ? ?/sec    1.00   1757.9±3.00µs        ? ?/sec
physical_plan_tpch_q4                                 1.00   1080.4±2.39µs        ? ?/sec    1.07   1151.9±2.02µs        ? ?/sec
physical_plan_tpch_q5                                 1.00      2.4±0.00ms        ? ?/sec    1.03      2.5±0.00ms        ? ?/sec
physical_plan_tpch_q6                                 1.00    576.1±1.66µs        ? ?/sec    1.09    627.2±3.38µs        ? ?/sec
physical_plan_tpch_q7                                 1.00      2.9±0.01ms        ? ?/sec    1.03      3.0±0.00ms        ? ?/sec
physical_plan_tpch_q8                                 1.00      3.9±0.00ms        ? ?/sec    1.02      3.9±0.01ms        ? ?/sec
physical_plan_tpch_q9                                 1.00      2.7±0.00ms        ? ?/sec    1.01      2.7±0.00ms        ? ?/sec
physical_select_aggregates_from_200                   1.00     13.3±0.04ms        ? ?/sec    1.02     13.6±0.02ms        ? ?/sec
physical_select_all_from_1000                         1.00     16.9±0.04ms        ? ?/sec    1.01     17.0±0.06ms        ? ?/sec
physical_select_one_from_700                          1.01    723.4±2.10µs        ? ?/sec    1.00    713.0±2.30µs        ? ?/sec
physical_sorted_union_order_by_10_int64               1.00      4.2±0.00ms        ? ?/sec    1.04      4.4±0.01ms        ? ?/sec
physical_sorted_union_order_by_10_uint64              1.00      8.3±0.01ms        ? ?/sec    1.07      8.8±0.03ms        ? ?/sec
physical_sorted_union_order_by_50_int64               1.00    104.1±0.27ms        ? ?/sec    1.03    107.1±0.23ms        ? ?/sec
physical_sorted_union_order_by_50_uint64              1.00    354.7±1.06ms        ? ?/sec    1.08    382.1±2.91ms        ? ?/sec
physical_theta_join_consider_sort                     1.00   1010.4±3.02µs        ? ?/sec    1.00   1011.0±8.99µs        ? ?/sec
physical_unnest_to_join                               1.00    628.3±2.71µs        ? ?/sec    1.02    640.2±2.89µs        ? ?/sec
physical_window_function_partition_by_12_on_values    1.00    689.7±1.50µs        ? ?/sec    1.04    716.8±1.33µs        ? ?/sec
physical_window_function_partition_by_30_on_values    1.00   1386.7±3.68µs        ? ?/sec    1.03   1431.9±2.95µs        ? ?/sec
physical_window_function_partition_by_4_on_values     1.00    413.6±0.93µs        ? ?/sec    1.04    429.2±1.04µs        ? ?/sec
physical_window_function_partition_by_7_on_values     1.00    514.5±1.60µs        ? ?/sec    1.04    534.4±1.35µs        ? ?/sec
physical_window_function_partition_by_8_on_values     1.00    553.7±1.46µs        ? ?/sec    1.04    574.8±1.28µs        ? ?/sec
with_param_values_many_columns                        1.00    430.2±1.65µs        ? ?/sec    1.01    433.1±1.93µs        ? ?/sec

Resource Usage

base (merge-base)

Metric Value
Wall time 1545.3s
Peak memory 19.8 GiB
Avg memory 19.7 GiB
CPU user 1862.2s
CPU sys 1.8s
Peak spill 0 B

branch

Metric Value
Wall time 1560.3s
Peak memory 19.8 GiB
Avg memory 19.8 GiB
CPU user 1878.5s
CPU sys 1.4s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Criterion benchmark completed (GKE) | trigger

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

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

group                                                 main                                    optimizer-skip-unchanged-noop-rules
-----                                                 ----                                    -----------------------------------
logical_aggregate_with_join                           1.01    417.4±1.94µs        ? ?/sec     1.00    412.8±1.31µs        ? ?/sec
logical_correlated_subquery_exists                    1.01    254.6±0.58µs        ? ?/sec     1.00    251.8±0.78µs        ? ?/sec
logical_correlated_subquery_in                        1.01    254.2±0.81µs        ? ?/sec     1.00    252.3±0.85µs        ? ?/sec
logical_distinct_many_columns                         1.01    319.9±0.85µs        ? ?/sec     1.00    318.1±1.05µs        ? ?/sec
logical_join_4_with_agg_and_filter                    1.01    238.6±0.68µs        ? ?/sec     1.00    236.7±1.01µs        ? ?/sec
logical_join_8_with_agg_sort_limit                    1.00    411.3±1.39µs        ? ?/sec     1.00    411.6±1.85µs        ? ?/sec
logical_join_chain_16                                 1.00    662.6±3.06µs        ? ?/sec     1.00    661.1±3.03µs        ? ?/sec
logical_join_chain_4                                  1.00    115.2±0.32µs        ? ?/sec     1.01    116.7±0.40µs        ? ?/sec
logical_join_chain_8                                  1.01    242.8±0.77µs        ? ?/sec     1.00    240.7±1.02µs        ? ?/sec
logical_multiple_subqueries                           1.01    455.0±1.87µs        ? ?/sec     1.00    448.4±1.12µs        ? ?/sec
logical_nested_cte_4_levels                           1.01    241.7±1.53µs        ? ?/sec     1.00    238.4±0.88µs        ? ?/sec
logical_plan_struct_join_agg_sort                     1.01    171.6±0.82µs        ? ?/sec     1.00    169.9±0.70µs        ? ?/sec
logical_plan_tpcds_all                                1.02     75.4±0.63ms        ? ?/sec     1.00     74.1±0.64ms        ? ?/sec
logical_plan_tpch_all                                 1.00      5.7±0.04ms        ? ?/sec     1.03      5.9±0.03ms        ? ?/sec
logical_scalar_subquery                               1.00    273.7±0.84µs        ? ?/sec     1.00    273.4±0.92µs        ? ?/sec
logical_select_all_from_1000                          1.00      8.0±0.05ms        ? ?/sec     1.05      8.4±0.04ms        ? ?/sec
logical_select_one_from_700                           1.00    274.4±3.53µs        ? ?/sec     1.00    273.7±1.99µs        ? ?/sec
logical_trivial_join_high_numbered_columns            1.01    257.0±0.61µs        ? ?/sec     1.00    254.1±1.28µs        ? ?/sec
logical_trivial_join_low_numbered_columns             1.01    243.6±0.57µs        ? ?/sec     1.00    241.2±0.66µs        ? ?/sec
logical_union_4_branches                              1.02    361.2±1.01µs        ? ?/sec     1.00    354.9±1.26µs        ? ?/sec
logical_union_8_branches                              1.02    687.2±3.17µs        ? ?/sec     1.00    674.2±2.46µs        ? ?/sec
logical_wide_aggregate_100_exprs                      1.00      3.7±0.01ms        ? ?/sec     1.01      3.8±0.03ms        ? ?/sec
logical_wide_case_50_exprs                            1.00   1666.8±6.67µs        ? ?/sec     1.00   1670.0±5.60µs        ? ?/sec
logical_wide_filter_200_predicates                    1.00   1291.1±7.60µs        ? ?/sec     1.01   1299.5±7.55µs        ? ?/sec
logical_wide_filter_50_predicates                     1.02    373.2±2.19µs        ? ?/sec     1.00    367.0±1.87µs        ? ?/sec
optimizer_correlated_exists                           1.00    252.2±1.04µs        ? ?/sec     1.00    251.8±0.47µs        ? ?/sec
optimizer_join_4_with_agg_filter                      1.03    428.3±1.78µs        ? ?/sec     1.00    414.7±1.47µs        ? ?/sec
optimizer_join_chain_4                                1.00    176.9±0.41µs        ? ?/sec     1.01    177.9±0.38µs        ? ?/sec
optimizer_join_chain_8                                1.01    556.5±1.13µs        ? ?/sec     1.00    552.4±1.30µs        ? ?/sec
optimizer_select_all_from_1000                        1.00      4.6±0.01ms        ? ?/sec     1.02      4.7±0.01ms        ? ?/sec
optimizer_select_one_from_700                         1.01    255.8±0.60µs        ? ?/sec     1.00    254.6±0.56µs        ? ?/sec
optimizer_tpcds_all                                   1.04    254.7±2.94ms        ? ?/sec     1.00    245.2±3.11ms        ? ?/sec
optimizer_tpch_all                                    1.02     14.5±0.15ms        ? ?/sec     1.00     14.2±0.06ms        ? ?/sec
optimizer_wide_aggregate_100                          1.16      2.1±0.00ms        ? ?/sec     1.00   1788.8±4.49µs        ? ?/sec
optimizer_wide_filter_200                             1.00      3.5±0.03ms        ? ?/sec     1.09      3.8±0.03ms        ? ?/sec
physical_intersection                                 1.02    548.7±2.18µs        ? ?/sec     1.00    538.8±1.28µs        ? ?/sec
physical_join_consider_sort                           1.02    988.8±4.15µs        ? ?/sec     1.00    970.4±1.93µs        ? ?/sec
physical_join_distinct                                1.01    237.1±0.78µs        ? ?/sec     1.00    235.1±0.76µs        ? ?/sec
physical_many_self_joins                              1.10      7.7±0.11ms        ? ?/sec     1.00      6.9±0.02ms        ? ?/sec
physical_plan_clickbench_all                          1.00    120.2±2.32ms        ? ?/sec     1.02    122.4±2.19ms        ? ?/sec
physical_plan_clickbench_q1                           1.00  1313.8±24.90µs        ? ?/sec     1.03  1359.3±10.65µs        ? ?/sec
physical_plan_clickbench_q10                          1.00  1908.6±50.22µs        ? ?/sec     1.00  1916.1±11.85µs        ? ?/sec
physical_plan_clickbench_q11                          1.00      2.2±0.10ms        ? ?/sec     1.00      2.2±0.06ms        ? ?/sec
physical_plan_clickbench_q12                          1.00      2.2±0.11ms        ? ?/sec     1.00      2.2±0.09ms        ? ?/sec
physical_plan_clickbench_q13                          1.00  1926.9±81.01µs        ? ?/sec     1.03  1976.1±91.28µs        ? ?/sec
physical_plan_clickbench_q14                          1.00      2.0±0.01ms        ? ?/sec     1.02      2.1±0.01ms        ? ?/sec
physical_plan_clickbench_q15                          1.00      2.0±0.07ms        ? ?/sec     1.02      2.1±0.09ms        ? ?/sec
physical_plan_clickbench_q16                          1.00  1710.7±23.63µs        ? ?/sec     1.00  1702.3±19.68µs        ? ?/sec
physical_plan_clickbench_q17                          1.00  1729.5±54.45µs        ? ?/sec     1.01  1750.0±30.06µs        ? ?/sec
physical_plan_clickbench_q18                          1.00  1563.2±40.32µs        ? ?/sec     1.03  1605.9±52.78µs        ? ?/sec
physical_plan_clickbench_q19                          1.00   1882.7±5.78µs        ? ?/sec     1.01   1894.1±7.10µs        ? ?/sec
physical_plan_clickbench_q2                           1.00  1701.6±85.30µs        ? ?/sec     1.03  1749.5±27.06µs        ? ?/sec
physical_plan_clickbench_q20                          1.00  1513.3±18.82µs        ? ?/sec     1.03  1561.8±50.67µs        ? ?/sec
physical_plan_clickbench_q21                          1.00  1755.5±39.73µs        ? ?/sec     1.01  1777.6±46.18µs        ? ?/sec
physical_plan_clickbench_q22                          1.00      2.2±0.15ms        ? ?/sec     1.00      2.2±0.15ms        ? ?/sec
physical_plan_clickbench_q23                          1.00      2.2±0.01ms        ? ?/sec     1.04      2.3±0.15ms        ? ?/sec
physical_plan_clickbench_q24                          1.02      5.4±0.01ms        ? ?/sec     1.00      5.3±0.01ms        ? ?/sec
physical_plan_clickbench_q25                          1.00  1838.8±19.36µs        ? ?/sec     1.02  1868.3±28.98µs        ? ?/sec
physical_plan_clickbench_q26                          1.00  1666.1±13.21µs        ? ?/sec     1.05  1749.8±40.75µs        ? ?/sec
physical_plan_clickbench_q27                          1.00  1851.6±53.07µs        ? ?/sec     1.05  1937.1±81.82µs        ? ?/sec
physical_plan_clickbench_q28                          1.00      2.2±0.01ms        ? ?/sec     1.07      2.4±0.16ms        ? ?/sec
physical_plan_clickbench_q29                          1.00      2.4±0.01ms        ? ?/sec     1.01      2.4±0.01ms        ? ?/sec
physical_plan_clickbench_q3                           1.00  1552.6±48.34µs        ? ?/sec     1.04  1608.9±50.68µs        ? ?/sec
physical_plan_clickbench_q30                          1.02     14.5±0.03ms        ? ?/sec     1.00     14.3±0.11ms        ? ?/sec
physical_plan_clickbench_q31                          1.00      2.3±0.02ms        ? ?/sec     1.01      2.3±0.03ms        ? ?/sec
physical_plan_clickbench_q32                          1.00      2.4±0.13ms        ? ?/sec     1.03      2.5±0.11ms        ? ?/sec
physical_plan_clickbench_q33                          1.00  1918.0±85.35µs        ? ?/sec     1.05      2.0±0.13ms        ? ?/sec
physical_plan_clickbench_q34                          1.00  1699.0±66.82µs        ? ?/sec     1.04  1770.7±92.50µs        ? ?/sec
physical_plan_clickbench_q35                          1.00   1741.8±9.31µs        ? ?/sec     1.03  1785.9±30.90µs        ? ?/sec
physical_plan_clickbench_q36                          1.00      2.1±0.08ms        ? ?/sec     1.01      2.1±0.02ms        ? ?/sec
physical_plan_clickbench_q37                          1.00      2.4±0.03ms        ? ?/sec     1.05      2.5±0.09ms        ? ?/sec
physical_plan_clickbench_q38                          1.00      2.5±0.09ms        ? ?/sec     1.03      2.5±0.15ms        ? ?/sec
physical_plan_clickbench_q39                          1.00      2.5±0.09ms        ? ?/sec     1.05      2.6±0.19ms        ? ?/sec
physical_plan_clickbench_q4                           1.00   1364.6±5.25µs        ? ?/sec     1.05   1433.9±6.32µs        ? ?/sec
physical_plan_clickbench_q40                          1.03      3.2±0.18ms        ? ?/sec     1.00      3.1±0.01ms        ? ?/sec
physical_plan_clickbench_q41                          1.00      2.7±0.01ms        ? ?/sec     1.04      2.8±0.11ms        ? ?/sec
physical_plan_clickbench_q42                          1.00      3.0±0.09ms        ? ?/sec     1.02      3.0±0.05ms        ? ?/sec
physical_plan_clickbench_q43                          1.00      3.1±0.04ms        ? ?/sec     1.08      3.3±0.18ms        ? ?/sec
physical_plan_clickbench_q44                          1.00  1525.2±48.64µs        ? ?/sec     1.01  1540.8±45.20µs        ? ?/sec
physical_plan_clickbench_q45                          1.00  1478.8±51.90µs        ? ?/sec     1.04  1532.4±42.69µs        ? ?/sec
physical_plan_clickbench_q46                          1.00  1759.7±170.21µs        ? ?/sec    1.01   1784.6±6.16µs        ? ?/sec
physical_plan_clickbench_q47                          1.00      2.5±0.05ms        ? ?/sec     1.01      2.5±0.06ms        ? ?/sec
physical_plan_clickbench_q48                          1.00      2.7±0.05ms        ? ?/sec     1.02      2.8±0.15ms        ? ?/sec
physical_plan_clickbench_q49                          1.00      2.9±0.12ms        ? ?/sec     1.01      2.9±0.21ms        ? ?/sec
physical_plan_clickbench_q5                           1.00   1505.9±8.22µs        ? ?/sec     1.05  1577.5±34.02µs        ? ?/sec
physical_plan_clickbench_q50                          1.00      2.7±0.20ms        ? ?/sec     1.00      2.7±0.01ms        ? ?/sec
physical_plan_clickbench_q51                          1.01  1913.4±114.48µs        ? ?/sec    1.00   1887.2±5.58µs        ? ?/sec
physical_plan_clickbench_q6                           1.00  1521.5±35.18µs        ? ?/sec     1.05  1591.4±32.68µs        ? ?/sec
physical_plan_clickbench_q7                           1.00  1377.3±60.73µs        ? ?/sec     1.05  1446.1±65.33µs        ? ?/sec
physical_plan_clickbench_q8                           1.00  1824.7±73.42µs        ? ?/sec     1.03  1882.8±84.99µs        ? ?/sec
physical_plan_clickbench_q9                           1.00   1773.7±6.05µs        ? ?/sec     1.02   1802.3±6.64µs        ? ?/sec
physical_plan_struct_join_agg_sort                    1.01   1226.8±1.67µs        ? ?/sec     1.00   1208.8±6.37µs        ? ?/sec
physical_plan_tpcds_all                               1.01   655.9±12.53ms        ? ?/sec     1.00   650.1±12.41ms        ? ?/sec
physical_plan_tpch_all                                1.01     43.0±0.06ms        ? ?/sec     1.00     42.8±0.06ms        ? ?/sec
physical_plan_tpch_q1                                 1.03   1421.0±6.78µs        ? ?/sec     1.00   1374.4±4.41µs        ? ?/sec
physical_plan_tpch_q10                                1.08      2.8±0.07ms        ? ?/sec     1.00      2.5±0.00ms        ? ?/sec
physical_plan_tpch_q11                                1.00      2.1±0.00ms        ? ?/sec     1.01      2.1±0.04ms        ? ?/sec
physical_plan_tpch_q12                                1.00   1132.1±3.79µs        ? ?/sec     1.01   1142.1±2.07µs        ? ?/sec
physical_plan_tpch_q13                                1.00    877.8±1.80µs        ? ?/sec     1.03    907.0±2.45µs        ? ?/sec
physical_plan_tpch_q14                                1.04   1316.2±4.39µs        ? ?/sec     1.00   1267.3±8.37µs        ? ?/sec
physical_plan_tpch_q16                                1.05   1453.8±8.80µs        ? ?/sec     1.00  1381.6±10.85µs        ? ?/sec
physical_plan_tpch_q17                                1.00  1613.9±18.43µs        ? ?/sec     1.00  1608.9±16.93µs        ? ?/sec
physical_plan_tpch_q18                                1.05   1715.4±9.86µs        ? ?/sec     1.00  1626.5±14.37µs        ? ?/sec
physical_plan_tpch_q19                                1.00  1635.1±12.57µs        ? ?/sec     1.01   1647.0±4.90µs        ? ?/sec
physical_plan_tpch_q2                                 1.00      3.9±0.05ms        ? ?/sec     1.03      4.0±0.03ms        ? ?/sec
physical_plan_tpch_q20                                1.00      2.2±0.03ms        ? ?/sec     1.01      2.2±0.05ms        ? ?/sec
physical_plan_tpch_q21                                1.00      2.8±0.04ms        ? ?/sec     1.01      2.9±0.08ms        ? ?/sec
physical_plan_tpch_q22                                1.00  1509.5±16.71µs        ? ?/sec     1.01  1520.2±13.04µs        ? ?/sec
physical_plan_tpch_q3                                 1.09  1824.7±18.53µs        ? ?/sec     1.00  1680.1±12.32µs        ? ?/sec
physical_plan_tpch_q4                                 1.00   1102.6±4.59µs        ? ?/sec     1.01  1116.8±12.25µs        ? ?/sec
physical_plan_tpch_q5                                 1.00      2.4±0.00ms        ? ?/sec     1.01      2.4±0.06ms        ? ?/sec
physical_plan_tpch_q6                                 1.00    595.4±1.78µs        ? ?/sec     1.00    596.1±3.24µs        ? ?/sec
physical_plan_tpch_q7                                 1.00      2.9±0.02ms        ? ?/sec     1.02      3.0±0.03ms        ? ?/sec
physical_plan_tpch_q8                                 1.03      4.0±0.12ms        ? ?/sec     1.00      3.9±0.07ms        ? ?/sec
physical_plan_tpch_q9                                 1.03      2.8±0.08ms        ? ?/sec     1.00      2.7±0.03ms        ? ?/sec
physical_select_aggregates_from_200                   1.03     13.5±0.11ms        ? ?/sec     1.00     13.1±0.11ms        ? ?/sec
physical_select_all_from_1000                         1.00     16.8±0.06ms        ? ?/sec     1.05     17.6±0.09ms        ? ?/sec
physical_select_one_from_700                          1.00    710.5±2.45µs        ? ?/sec     1.01    716.5±2.51µs        ? ?/sec
physical_sorted_union_order_by_10_int64               1.00      4.2±0.00ms        ? ?/sec     1.04      4.4±0.05ms        ? ?/sec
physical_sorted_union_order_by_10_uint64              1.00      8.4±0.04ms        ? ?/sec     1.07      9.0±0.06ms        ? ?/sec
physical_sorted_union_order_by_50_int64               1.00    104.1±1.12ms        ? ?/sec     1.02    106.2±0.32ms        ? ?/sec
physical_sorted_union_order_by_50_uint64              1.00    354.8±6.74ms        ? ?/sec     1.07    381.3±9.24ms        ? ?/sec
physical_theta_join_consider_sort                     1.03   1019.9±3.64µs        ? ?/sec     1.00    985.9±2.46µs        ? ?/sec
physical_unnest_to_join                               1.03    647.3±1.35µs        ? ?/sec     1.00    627.3±1.31µs        ? ?/sec
physical_window_function_partition_by_12_on_values    1.00    703.1±2.16µs        ? ?/sec     1.00    705.3±2.07µs        ? ?/sec
physical_window_function_partition_by_30_on_values    1.00   1403.4±2.89µs        ? ?/sec     1.01   1414.7±3.22µs        ? ?/sec
physical_window_function_partition_by_4_on_values     1.01    425.7±1.34µs        ? ?/sec     1.00    422.1±3.96µs        ? ?/sec
physical_window_function_partition_by_7_on_values     1.00    529.1±2.17µs        ? ?/sec     1.00    527.5±2.38µs        ? ?/sec
physical_window_function_partition_by_8_on_values     1.00    565.1±2.52µs        ? ?/sec     1.00    563.3±3.79µs        ? ?/sec
with_param_values_many_columns                        1.00    430.1±2.25µs        ? ?/sec     1.01    433.7±2.61µs        ? ?/sec

Resource Usage

base (merge-base)

Metric Value
Wall time 1545.3s
Peak memory 19.8 GiB
Avg memory 19.7 GiB
CPU user 1863.0s
CPU sys 2.0s
Peak spill 0 B

branch

Metric Value
Wall time 1565.4s
Peak memory 19.8 GiB
Avg memory 19.8 GiB
CPU user 1881.6s
CPU sys 1.5s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan Dandandan closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

optimizer Optimizer rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid rerunning logical optimizer rules on unchanged plans

2 participants