Skip to content

perf: generic literal-prefix fast path for regexp_replace ${1}#22354

Draft
Dandandan wants to merge 1 commit into
apache:mainfrom
Dandandan:perf/generic-regexpreplace-prefix-capture
Draft

perf: generic literal-prefix fast path for regexp_replace ${1}#22354
Dandandan wants to merge 1 commit into
apache:mainfrom
Dandandan:perf/generic-regexpreplace-prefix-capture

Conversation

@Dandandan
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

OptimizedRegex (introduced for ClickBench Q28-style patterns) already handles ^...(capture).*$${1} by stripping the trailing .*$ and running the shortened regex with reusable CaptureLocations. That avoids expand() and string allocation, but still pays for full regex matching on every row.

For the common subset where the regex up to the capture reduces to a finite set of literal byte prefixes and the capture has the form ([^X]+)X for a single ASCII byte X, we can do strictly better: parse the pattern's HIR once at planning time, enumerate the literal prefix variants, and dispatch each row to a memchr-based extractor — no regex engine involvement per row.

Patterns that fit this shape:

Pattern Prefix variants Terminator
^https?://(?:www\.)?([^/]+)/.*$ (ClickBench Q28) https://www., http://www., https://, http:// /
^foo:([^,]+),.*$ foo: ,
^(?:foo|bar|baz):([^/]+)/.*$ bar:, baz:, foo: /

Any pattern that doesn't fit (case-insensitive, multiline, non-ASCII terminator, unbounded prefix) falls back to the existing ShortenedRegex path with no change.

Performance

Measured on ClickBench Q28 (REGEXP_REPLACE(\"Referer\", '^https?://(?:www\.)?([^/]+)/.*\$', '\1'), partitioned dataset, dfbench --iterations 5 --query 28, same machine):

Build Avg ms Delta
Upstream main (shortened-regex only) 4577.52 baseline
Literal-prefix fast path 2225.00 -51.4%

Per-iteration:

  • Upstream: 4294.1, 4426.0, 4431.4, 5035.1, 4701.0
  • Literal-prefix: 2417.5, 2178.1, 2244.0, 2154.8, 2130.6

What changes are included in this PR?

  • New LiteralPrefixCaptureSpec variant of the internal ShortRegex enum, holding a deduplicated longest-first list of literal prefixes plus a single-byte terminator.
  • try_recognize_literal_prefix_capture(pattern) parses the pattern with regex-syntax::parse, walks the HIR, enumerates prefix variants (bounded by MAX_PREFIX_VARIANTS = 32), and verifies the capture is greedy [^X]+ followed by a literal X, .*, \$.
  • Runtime extractor probes prefixes longest-first; on empty-capture failure (the longest prefix consumes bytes the capture needs) it falls back to shorter prefixes. That preserves the full regex's backtracking semantics for cases like http://www./path against the Q28 pattern, where the regex prefers to leave www. outside the optional so the capture is non-empty.
  • New transitive direct dep: regex-syntax (already pulled in via regex, version pinned to 0.8). Wired through the regex_expressions feature so it's only compiled when regex is.

Are these changes tested?

New unit tests in datafusion-functions::regex::regexpreplace::tests:

  • literal_prefix_recognizer_accepts_clickbench_q28 — exact prefix list and terminator for the Q28 pattern.
  • literal_prefix_recognizer_accepts_single_literal and _accepts_alternation — basic shapes.
  • literal_prefix_recognizer_rejects_non_anchored, _rejects_unbounded_prefix, _rejects_non_ascii_terminator, _rejects_case_insensitive — guardrails on what the recognizer will and won't accept.
  • literal_prefix_fast_path_matches_full_regex_for_q28_pattern and _for_alternation_pattern — differential tests that run the optimized path and the full regex::Regex on the same inputs (including edge cases like http://www./path, embedded \n, empty captures, and non-matching inputs) and assert byte-equal output.
cargo test -p datafusion-functions --lib regex::regexpreplace
cargo clippy -p datafusion-functions --all-targets --all-features -- -D warnings

All 22 tests in this module pass (13 pre-existing + 9 new).

Are there any user-facing changes?

No. regexp_replace semantics are unchanged — any input that wouldn't go through the fast path follows the exact same code as before, and inputs that do go through the fast path are differentially tested against the full regex.

Generalizes the existing `^...(capture).*$` -> `${1}` extraction in
`OptimizedRegex` for the common subset where the regex up to the
capture reduces to a finite set of literal byte prefixes and the
capture has the form `([^X]+)X` for a single ASCII byte X.

For inputs of that shape:
  - `^https?://(?:www\.)?([^/]+)/.*$`          (ClickBench Q28)
  - `^foo:([^,]+),.*$`                         (single literal prefix)
  - `^(?:foo|bar|baz):([^/]+)/.*$`             (alternation prefix)
the recognizer parses the pattern's HIR once via `regex-syntax`,
enumerates the literal prefix variants (bounded by 32 alternatives),
and dispatches each row to a `memchr`-based extractor instead of the
regex engine.

Longest-matching-prefix is tried first; on empty-capture failure the
extractor falls back to shorter prefixes. That preserves the regex's
backtracking semantics for cases like `http://www./path` against the
Q28 pattern, where the full regex prefers to leave `www.` outside the
optional so the capture is non-empty.

Patterns that don't match the literal-prefix shape continue through the
existing `ShortenedRegex` path (strip trailing `.*$`, use
`captures_read` against reusable `CaptureLocations`). Recognition is
strict — `(?i)`, `(?m)`, non-ASCII terminators, and unbounded prefix
constructs all fall back.

Measured on ClickBench Q28
(`REGEXP_REPLACE("Referer", '^https?://(?:www\.)?([^/]+)/.*$', '\1')`,
partitioned dataset, dfbench `--iterations 5 --query 28`, same machine):

  | Build                                | Avg ms   |
  | ------------------------------------ | -------: |
  | Upstream main (shortened-regex only) |  4577.52 |
  | Literal-prefix fast path             |  2225.00 |

Delta: -51.4% on Q28.

Validation:
- cargo test -p datafusion-functions --lib regex::regexpreplace
- cargo clippy -p datafusion-functions --all-targets --all-features -- -D warnings
@github-actions github-actions Bot added the functions Changes to functions implementation label May 19, 2026
@Dandandan
Copy link
Copy Markdown
Contributor Author

run benchmarks

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4485166233-207-xdsgm 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 perf/generic-regexpreplace-prefix-capture (b140b80) to c8b784a (merge-base) diff using: clickbench_partitioned
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4485166233-209-gglpb 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 perf/generic-regexpreplace-prefix-capture (b140b80) to c8b784a (merge-base) diff using: tpch
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark running (GKE) | trigger
Instance: c4a-highmem-16 (12 vCPU / 65 GiB) | Linux bench-c4485166233-208-nmxdn 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 perf/generic-regexpreplace-prefix-capture (b140b80) to c8b784a (merge-base) diff using: tpcds
Results will be posted here when complete


File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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

Comparing HEAD and perf_generic-regexpreplace-prefix-capture
--------------------
Benchmark tpch_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┓
┃ Query     ┃                           HEAD ┃ perf_generic-regexpreplace-prefix-capture ┃    Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━┩
│ QQuery 1  │ 38.68 / 39.89 ±0.97 / 41.30 ms │            38.82 / 39.41 ±0.95 / 41.29 ms │ no change │
│ QQuery 2  │ 20.40 / 20.59 ±0.26 / 21.09 ms │            20.20 / 20.79 ±0.47 / 21.64 ms │ no change │
│ QQuery 3  │ 33.37 / 35.20 ±1.03 / 35.98 ms │            33.88 / 35.16 ±1.23 / 36.74 ms │ no change │
│ QQuery 4  │ 17.24 / 17.66 ±0.24 / 17.96 ms │            17.45 / 17.96 ±0.65 / 19.24 ms │ no change │
│ QQuery 5  │ 42.06 / 42.52 ±0.36 / 42.99 ms │            39.70 / 41.94 ±1.26 / 43.25 ms │ no change │
│ QQuery 6  │ 16.50 / 17.01 ±0.93 / 18.87 ms │            16.47 / 17.09 ±0.61 / 17.97 ms │ no change │
│ QQuery 7  │ 47.11 / 48.36 ±1.25 / 50.76 ms │            47.25 / 49.14 ±1.28 / 51.26 ms │ no change │
│ QQuery 8  │ 45.37 / 45.53 ±0.12 / 45.73 ms │            45.10 / 45.80 ±1.01 / 47.82 ms │ no change │
│ QQuery 9  │ 49.77 / 50.98 ±1.02 / 52.53 ms │            49.95 / 50.62 ±0.43 / 51.25 ms │ no change │
│ QQuery 10 │ 63.89 / 64.20 ±0.25 / 64.57 ms │            63.99 / 64.32 ±0.27 / 64.72 ms │ no change │
│ QQuery 11 │ 13.51 / 14.02 ±0.48 / 14.86 ms │            13.32 / 13.87 ±0.70 / 15.24 ms │ no change │
│ QQuery 12 │ 24.29 / 24.61 ±0.22 / 24.85 ms │            24.38 / 24.77 ±0.35 / 25.42 ms │ no change │
│ QQuery 13 │ 34.01 / 35.78 ±1.25 / 37.85 ms │            33.54 / 34.85 ±1.28 / 37.15 ms │ no change │
│ QQuery 14 │ 25.63 / 25.90 ±0.19 / 26.20 ms │            25.55 / 25.76 ±0.19 / 26.05 ms │ no change │
│ QQuery 15 │ 31.67 / 31.75 ±0.07 / 31.86 ms │            31.52 / 31.87 ±0.24 / 32.26 ms │ no change │
│ QQuery 16 │ 14.95 / 15.18 ±0.13 / 15.34 ms │            14.88 / 15.16 ±0.32 / 15.77 ms │ no change │
│ QQuery 17 │ 74.77 / 75.89 ±0.99 / 77.34 ms │            75.40 / 75.61 ±0.19 / 75.86 ms │ no change │
│ QQuery 18 │ 62.27 / 63.67 ±0.83 / 64.77 ms │            62.98 / 63.95 ±0.57 / 64.74 ms │ no change │
│ QQuery 19 │ 35.56 / 36.00 ±0.64 / 37.25 ms │            35.27 / 35.60 ±0.22 / 35.93 ms │ no change │
│ QQuery 20 │ 37.79 / 38.09 ±0.25 / 38.41 ms │            38.06 / 38.32 ±0.26 / 38.76 ms │ no change │
│ QQuery 21 │ 55.81 / 56.86 ±0.65 / 57.83 ms │            56.25 / 57.91 ±1.43 / 59.92 ms │ no change │
│ QQuery 22 │ 23.46 / 24.03 ±0.71 / 25.38 ms │            23.45 / 23.91 ±0.37 / 24.44 ms │ no change │
└───────────┴────────────────────────────────┴───────────────────────────────────────────┴───────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃          ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 823.72ms │
│ Total Time (perf_generic-regexpreplace-prefix-capture)   │ 823.81ms │
│ Average Time (HEAD)                                      │  37.44ms │
│ Average Time (perf_generic-regexpreplace-prefix-capture) │  37.45ms │
│ 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 5.5 GiB
Avg memory 5.0 GiB
CPU user 29.7s
CPU sys 2.1s
Peak spill 0 B

tpch — branch

Metric Value
Wall time 5.0s
Peak memory 5.5 GiB
Avg memory 5.0 GiB
CPU user 29.6s
CPU sys 2.4s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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

Comparing HEAD and perf_generic-regexpreplace-prefix-capture
--------------------
Benchmark tpcds_sf1.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ perf_generic-regexpreplace-prefix-capture ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 1  │           6.61 / 7.17 ±0.92 / 8.98 ms │               6.78 / 7.42 ±0.95 / 9.30 ms │     no change │
│ QQuery 2  │        83.70 / 84.15 ±0.32 / 84.45 ms │            82.00 / 82.48 ±0.42 / 83.23 ms │     no change │
│ QQuery 3  │        29.58 / 29.86 ±0.26 / 30.28 ms │            29.34 / 29.48 ±0.13 / 29.71 ms │     no change │
│ QQuery 4  │    538.52 / 551.00 ±15.30 / 580.82 ms │         533.16 / 542.77 ±5.18 / 547.35 ms │     no change │
│ QQuery 5  │        53.10 / 54.67 ±1.13 / 55.97 ms │            52.78 / 53.42 ±0.40 / 53.99 ms │     no change │
│ QQuery 6  │        36.81 / 37.06 ±0.15 / 37.21 ms │            36.58 / 36.98 ±0.35 / 37.48 ms │     no change │
│ QQuery 7  │     110.74 / 111.44 ±0.65 / 112.66 ms │         109.61 / 111.00 ±1.79 / 114.51 ms │     no change │
│ QQuery 8  │        39.74 / 40.07 ±0.18 / 40.22 ms │            39.31 / 39.85 ±0.36 / 40.25 ms │     no change │
│ QQuery 9  │        54.29 / 56.89 ±1.92 / 59.91 ms │            53.76 / 55.29 ±1.18 / 57.10 ms │     no change │
│ QQuery 10 │        83.82 / 84.97 ±1.15 / 86.99 ms │            82.38 / 83.40 ±1.36 / 86.05 ms │     no change │
│ QQuery 11 │     330.82 / 339.12 ±6.58 / 349.81 ms │         331.65 / 338.16 ±3.50 / 341.10 ms │     no change │
│ QQuery 12 │        29.95 / 30.34 ±0.36 / 30.95 ms │            29.87 / 30.59 ±0.99 / 32.52 ms │     no change │
│ QQuery 13 │     130.49 / 131.41 ±0.64 / 132.08 ms │         128.90 / 129.58 ±0.54 / 130.30 ms │     no change │
│ QQuery 14 │     515.55 / 518.18 ±2.54 / 522.54 ms │        506.59 / 517.41 ±10.97 / 538.36 ms │     no change │
│ QQuery 15 │        62.52 / 63.51 ±0.95 / 64.71 ms │            61.15 / 62.42 ±1.15 / 64.38 ms │     no change │
│ QQuery 16 │           7.24 / 7.39 ±0.21 / 7.80 ms │               7.04 / 7.27 ±0.28 / 7.82 ms │     no change │
│ QQuery 17 │        83.13 / 83.92 ±0.67 / 84.96 ms │            82.13 / 82.84 ±0.70 / 84.11 ms │     no change │
│ QQuery 18 │     153.03 / 154.52 ±0.86 / 155.48 ms │         153.56 / 154.43 ±0.82 / 155.97 ms │     no change │
│ QQuery 19 │        41.88 / 42.31 ±0.41 / 42.96 ms │            41.55 / 43.02 ±1.67 / 46.19 ms │     no change │
│ QQuery 20 │        36.86 / 37.27 ±0.40 / 37.90 ms │            36.62 / 38.20 ±1.09 / 40.00 ms │     no change │
│ QQuery 21 │        18.78 / 19.29 ±0.31 / 19.68 ms │            19.29 / 19.62 ±0.27 / 20.00 ms │     no change │
│ QQuery 22 │        63.10 / 64.28 ±0.83 / 65.56 ms │            64.92 / 68.87 ±2.51 / 72.05 ms │  1.07x slower │
│ QQuery 23 │     493.04 / 499.82 ±5.74 / 509.12 ms │        487.91 / 497.93 ±11.50 / 519.97 ms │     no change │
│ QQuery 24 │     239.62 / 245.07 ±7.09 / 258.71 ms │         238.40 / 245.25 ±4.69 / 250.79 ms │     no change │
│ QQuery 25 │     114.97 / 117.69 ±1.58 / 119.24 ms │         114.54 / 115.30 ±1.22 / 117.73 ms │     no change │
│ QQuery 26 │        72.36 / 74.42 ±2.97 / 80.27 ms │            71.16 / 73.50 ±1.85 / 75.85 ms │     no change │
│ QQuery 27 │           7.27 / 7.45 ±0.18 / 7.78 ms │               7.17 / 7.32 ±0.25 / 7.81 ms │     no change │
│ QQuery 28 │        61.06 / 62.94 ±1.35 / 64.31 ms │            57.37 / 62.20 ±2.42 / 63.60 ms │     no change │
│ QQuery 29 │     100.15 / 101.67 ±1.00 / 102.79 ms │          99.58 / 100.68 ±1.68 / 103.98 ms │     no change │
│ QQuery 30 │        32.18 / 33.29 ±1.69 / 36.65 ms │            31.50 / 31.98 ±0.48 / 32.77 ms │     no change │
│ QQuery 31 │     114.83 / 115.67 ±0.60 / 116.50 ms │         112.82 / 113.61 ±0.40 / 113.98 ms │     no change │
│ QQuery 32 │        21.15 / 22.15 ±1.14 / 24.38 ms │            20.80 / 21.31 ±0.28 / 21.63 ms │     no change │
│ QQuery 33 │        40.06 / 40.30 ±0.26 / 40.78 ms │            39.13 / 39.55 ±0.36 / 40.10 ms │     no change │
│ QQuery 34 │        10.39 / 10.63 ±0.21 / 10.91 ms │            10.42 / 10.94 ±0.46 / 11.56 ms │     no change │
│ QQuery 35 │        83.74 / 85.27 ±1.73 / 88.48 ms │            82.15 / 82.74 ±0.38 / 83.29 ms │     no change │
│ QQuery 36 │           6.88 / 7.01 ±0.19 / 7.39 ms │               6.65 / 6.77 ±0.16 / 7.09 ms │     no change │
│ QQuery 37 │           7.67 / 7.82 ±0.11 / 7.96 ms │               7.37 / 7.60 ±0.18 / 7.90 ms │     no change │
│ QQuery 38 │        71.30 / 73.17 ±1.06 / 74.51 ms │            70.43 / 72.34 ±2.29 / 76.68 ms │     no change │
│ QQuery 39 │     102.13 / 103.94 ±1.09 / 105.45 ms │         102.66 / 104.01 ±1.63 / 106.96 ms │     no change │
│ QQuery 40 │        24.50 / 24.91 ±0.30 / 25.30 ms │            24.22 / 24.36 ±0.19 / 24.72 ms │     no change │
│ QQuery 41 │        15.02 / 15.15 ±0.12 / 15.34 ms │            14.83 / 14.96 ±0.09 / 15.11 ms │     no change │
│ QQuery 42 │        25.10 / 25.35 ±0.22 / 25.71 ms │            24.33 / 25.15 ±0.70 / 26.38 ms │     no change │
│ QQuery 43 │           5.59 / 5.81 ±0.18 / 6.04 ms │               5.48 / 5.58 ±0.17 / 5.92 ms │     no change │
│ QQuery 44 │        11.51 / 11.96 ±0.30 / 12.31 ms │            11.07 / 11.50 ±0.60 / 12.70 ms │     no change │
│ QQuery 45 │        42.16 / 44.32 ±1.28 / 45.97 ms │            41.98 / 43.59 ±0.98 / 44.44 ms │     no change │
│ QQuery 46 │        14.26 / 14.40 ±0.14 / 14.59 ms │            14.23 / 14.77 ±0.37 / 15.21 ms │     no change │
│ QQuery 47 │     246.28 / 251.97 ±4.79 / 260.41 ms │        246.19 / 267.46 ±17.15 / 288.48 ms │  1.06x slower │
│ QQuery 48 │     105.96 / 107.14 ±1.29 / 108.99 ms │         104.03 / 106.14 ±1.38 / 107.85 ms │     no change │
│ QQuery 49 │        81.99 / 83.22 ±0.91 / 84.78 ms │            81.44 / 82.75 ±1.28 / 85.15 ms │     no change │
│ QQuery 50 │        61.44 / 62.49 ±0.63 / 63.18 ms │            60.99 / 61.48 ±0.40 / 62.09 ms │     no change │
│ QQuery 51 │        92.52 / 94.81 ±2.20 / 98.94 ms │           94.29 / 96.95 ±3.41 / 103.30 ms │     no change │
│ QQuery 52 │        24.71 / 24.88 ±0.15 / 25.13 ms │            24.77 / 25.07 ±0.24 / 25.39 ms │     no change │
│ QQuery 53 │        31.15 / 31.47 ±0.28 / 31.86 ms │            30.73 / 30.93 ±0.19 / 31.27 ms │     no change │
│ QQuery 54 │        55.58 / 56.69 ±1.31 / 59.24 ms │            55.92 / 56.51 ±0.47 / 57.15 ms │     no change │
│ QQuery 55 │        24.93 / 25.30 ±0.32 / 25.69 ms │            24.26 / 25.18 ±1.28 / 27.69 ms │     no change │
│ QQuery 56 │        42.42 / 43.28 ±0.61 / 44.34 ms │            40.32 / 40.88 ±0.48 / 41.75 ms │ +1.06x faster │
│ QQuery 57 │     190.91 / 194.44 ±3.26 / 198.81 ms │         180.84 / 183.06 ±2.19 / 185.72 ms │ +1.06x faster │
│ QQuery 58 │     122.67 / 124.80 ±1.55 / 126.21 ms │         116.95 / 118.43 ±1.33 / 120.35 ms │ +1.05x faster │
│ QQuery 59 │     123.40 / 124.32 ±0.87 / 125.94 ms │         119.34 / 120.44 ±1.03 / 122.21 ms │     no change │
│ QQuery 60 │        43.01 / 43.69 ±0.46 / 44.34 ms │            41.04 / 41.88 ±0.46 / 42.45 ms │     no change │
│ QQuery 61 │        14.27 / 14.84 ±0.49 / 15.41 ms │            14.08 / 14.23 ±0.10 / 14.38 ms │     no change │
│ QQuery 62 │        47.79 / 48.34 ±0.30 / 48.65 ms │            46.74 / 47.03 ±0.29 / 47.54 ms │     no change │
│ QQuery 63 │        31.54 / 31.87 ±0.18 / 32.07 ms │            30.77 / 31.70 ±1.29 / 34.26 ms │     no change │
│ QQuery 64 │     468.50 / 478.58 ±6.78 / 487.58 ms │         464.83 / 471.89 ±6.43 / 481.94 ms │     no change │
│ QQuery 65 │     144.61 / 150.84 ±3.29 / 153.90 ms │         146.63 / 148.24 ±0.88 / 148.89 ms │     no change │
│ QQuery 66 │        83.95 / 85.47 ±0.77 / 86.00 ms │           85.08 / 89.47 ±5.97 / 100.99 ms │     no change │
│ QQuery 67 │     264.14 / 267.18 ±2.38 / 270.58 ms │         263.61 / 267.70 ±4.21 / 275.81 ms │     no change │
│ QQuery 68 │        14.27 / 14.48 ±0.18 / 14.79 ms │            14.54 / 14.63 ±0.06 / 14.71 ms │     no change │
│ QQuery 69 │        78.76 / 80.75 ±3.37 / 87.49 ms │            78.25 / 81.62 ±4.25 / 89.26 ms │     no change │
│ QQuery 70 │     106.52 / 111.87 ±3.21 / 115.08 ms │         105.90 / 110.77 ±6.06 / 122.63 ms │     no change │
│ QQuery 71 │        36.66 / 36.90 ±0.19 / 37.24 ms │            36.50 / 36.85 ±0.35 / 37.42 ms │     no change │
│ QQuery 72 │ 2186.32 / 2284.22 ±81.95 / 2411.34 ms │     2178.39 / 2262.91 ±46.26 / 2302.59 ms │     no change │
│ QQuery 73 │        10.10 / 10.29 ±0.15 / 10.43 ms │             9.78 / 10.07 ±0.25 / 10.43 ms │     no change │
│ QQuery 74 │     188.00 / 192.54 ±3.49 / 197.24 ms │         190.16 / 197.39 ±5.50 / 206.75 ms │     no change │
│ QQuery 75 │     152.56 / 154.19 ±1.49 / 156.98 ms │         149.85 / 151.86 ±2.04 / 155.64 ms │     no change │
│ QQuery 76 │        36.60 / 37.21 ±0.51 / 37.98 ms │            35.80 / 36.38 ±0.33 / 36.67 ms │     no change │
│ QQuery 77 │        63.01 / 64.10 ±0.74 / 64.85 ms │            62.84 / 63.24 ±0.26 / 63.60 ms │     no change │
│ QQuery 78 │     191.40 / 195.03 ±2.43 / 197.97 ms │         192.27 / 194.91 ±2.75 / 199.71 ms │     no change │
│ QQuery 79 │        68.46 / 70.95 ±1.63 / 72.84 ms │            67.65 / 68.19 ±0.39 / 68.73 ms │     no change │
│ QQuery 80 │     103.19 / 104.91 ±1.24 / 106.90 ms │         102.32 / 106.62 ±4.50 / 113.24 ms │     no change │
│ QQuery 81 │        26.10 / 26.23 ±0.10 / 26.36 ms │            25.46 / 25.74 ±0.21 / 26.09 ms │     no change │
│ QQuery 82 │        17.93 / 18.60 ±1.00 / 20.58 ms │            17.51 / 18.06 ±0.35 / 18.56 ms │     no change │
│ QQuery 83 │        38.27 / 39.24 ±0.51 / 39.74 ms │            38.46 / 39.57 ±0.68 / 40.42 ms │     no change │
│ QQuery 84 │        44.74 / 45.82 ±1.62 / 48.98 ms │            44.53 / 45.56 ±1.30 / 48.08 ms │     no change │
│ QQuery 85 │     140.69 / 141.53 ±0.59 / 142.08 ms │         138.49 / 141.21 ±2.61 / 146.13 ms │     no change │
│ QQuery 86 │        26.42 / 26.87 ±0.66 / 28.18 ms │            25.59 / 26.06 ±0.35 / 26.63 ms │     no change │
│ QQuery 87 │        71.78 / 73.40 ±1.26 / 75.17 ms │            70.67 / 72.61 ±1.99 / 76.06 ms │     no change │
│ QQuery 88 │        67.09 / 67.89 ±0.68 / 69.15 ms │            65.54 / 66.33 ±0.41 / 66.69 ms │     no change │
│ QQuery 89 │        37.33 / 37.84 ±0.43 / 38.38 ms │            36.70 / 37.01 ±0.59 / 38.19 ms │     no change │
│ QQuery 90 │        18.12 / 18.23 ±0.11 / 18.38 ms │            18.07 / 18.28 ±0.18 / 18.58 ms │     no change │
│ QQuery 91 │        53.63 / 54.71 ±1.66 / 57.99 ms │            52.95 / 54.62 ±1.76 / 57.95 ms │     no change │
│ QQuery 92 │        30.36 / 31.03 ±0.47 / 31.78 ms │            30.76 / 31.65 ±1.46 / 34.56 ms │     no change │
│ QQuery 93 │        50.81 / 51.79 ±0.70 / 52.98 ms │            50.81 / 51.60 ±0.84 / 53.07 ms │     no change │
│ QQuery 94 │        38.58 / 39.23 ±0.36 / 39.64 ms │            38.74 / 39.28 ±0.46 / 40.07 ms │     no change │
│ QQuery 95 │        85.04 / 85.86 ±0.79 / 87.35 ms │            86.44 / 87.07 ±0.63 / 88.21 ms │     no change │
│ QQuery 96 │        24.85 / 25.14 ±0.24 / 25.59 ms │            24.47 / 25.27 ±0.97 / 27.14 ms │     no change │
│ QQuery 97 │        47.31 / 47.71 ±0.39 / 48.45 ms │            46.55 / 46.74 ±0.21 / 47.10 ms │     no change │
│ QQuery 98 │        43.45 / 44.19 ±0.63 / 45.08 ms │            43.07 / 43.94 ±0.97 / 45.65 ms │     no change │
│ QQuery 99 │        71.28 / 72.30 ±0.93 / 74.03 ms │            70.20 / 70.59 ±0.26 / 70.98 ms │     no change │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 10949.75ms │
│ Total Time (perf_generic-regexpreplace-prefix-capture)   │ 10871.47ms │
│ Average Time (HEAD)                                      │   110.60ms │
│ Average Time (perf_generic-regexpreplace-prefix-capture) │   109.81ms │
│ Queries Faster                                           │          3 │
│ Queries Slower                                           │          2 │
│ Queries with No Change                                   │         94 │
│ Queries with Failure                                     │          0 │
└──────────────────────────────────────────────────────────┴────────────┘

Resource Usage

tpcds — base (merge-base)

Metric Value
Wall time 60.0s
Peak memory 6.9 GiB
Avg memory 6.1 GiB
CPU user 243.5s
CPU sys 5.5s
Peak spill 0 B

tpcds — branch

Metric Value
Wall time 55.0s
Peak memory 6.9 GiB
Avg memory 6.1 GiB
CPU user 242.1s
CPU sys 5.7s
Peak spill 0 B

File an issue against this benchmark runner

@adriangbot
Copy link
Copy Markdown

🤖 Benchmark completed (GKE) | trigger

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

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

Comparing HEAD and perf_generic-regexpreplace-prefix-capture
--------------------
Benchmark clickbench_partitioned.json
--------------------
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Query     ┃                                  HEAD ┃ perf_generic-regexpreplace-prefix-capture ┃        Change ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ QQuery 0  │          1.24 / 4.75 ±6.88 / 18.50 ms │              1.25 / 4.70 ±6.84 / 18.38 ms │     no change │
│ QQuery 1  │        12.95 / 13.36 ±0.24 / 13.68 ms │            13.26 / 13.36 ±0.06 / 13.44 ms │     no change │
│ QQuery 2  │        36.82 / 37.20 ±0.38 / 37.83 ms │            37.08 / 37.34 ±0.19 / 37.64 ms │     no change │
│ QQuery 3  │        30.81 / 31.90 ±1.19 / 34.14 ms │            31.03 / 31.33 ±0.31 / 31.87 ms │     no change │
│ QQuery 4  │     221.70 / 228.07 ±5.08 / 236.43 ms │        222.37 / 236.68 ±15.38 / 262.63 ms │     no change │
│ QQuery 5  │     272.67 / 275.06 ±3.75 / 282.51 ms │         303.85 / 305.29 ±1.48 / 308.12 ms │  1.11x slower │
│ QQuery 6  │           1.31 / 1.46 ±0.22 / 1.91 ms │               1.40 / 1.56 ±0.23 / 2.01 ms │  1.07x slower │
│ QQuery 7  │        14.07 / 14.30 ±0.14 / 14.52 ms │            14.98 / 15.22 ±0.15 / 15.44 ms │  1.06x slower │
│ QQuery 8  │     318.81 / 323.42 ±2.91 / 326.14 ms │        321.56 / 342.83 ±17.20 / 364.25 ms │  1.06x slower │
│ QQuery 9  │     451.17 / 456.99 ±5.14 / 464.03 ms │         465.39 / 469.39 ±2.44 / 472.68 ms │     no change │
│ QQuery 10 │        71.14 / 72.80 ±1.16 / 73.92 ms │            70.03 / 71.12 ±0.97 / 72.43 ms │     no change │
│ QQuery 11 │        82.64 / 83.41 ±0.80 / 84.93 ms │            81.20 / 81.48 ±0.34 / 82.14 ms │     no change │
│ QQuery 12 │     265.83 / 270.31 ±3.05 / 275.17 ms │         266.35 / 272.55 ±4.06 / 278.42 ms │     no change │
│ QQuery 13 │     360.32 / 373.92 ±8.03 / 382.45 ms │        361.95 / 377.16 ±12.08 / 398.03 ms │     no change │
│ QQuery 14 │    280.75 / 295.98 ±10.00 / 307.95 ms │         282.39 / 286.87 ±3.41 / 291.98 ms │     no change │
│ QQuery 15 │     286.81 / 294.51 ±5.42 / 301.56 ms │         268.57 / 273.22 ±3.31 / 278.06 ms │ +1.08x faster │
│ QQuery 16 │     635.44 / 652.27 ±9.99 / 665.29 ms │         611.13 / 622.64 ±6.31 / 628.46 ms │     no change │
│ QQuery 17 │     650.14 / 658.92 ±7.46 / 668.53 ms │        616.44 / 632.40 ±14.11 / 657.47 ms │     no change │
│ QQuery 18 │ 1299.92 / 1329.84 ±19.23 / 1352.33 ms │     1258.95 / 1312.18 ±54.42 / 1408.65 ms │     no change │
│ QQuery 19 │        28.66 / 30.47 ±2.74 / 35.92 ms │            29.54 / 29.65 ±0.13 / 29.88 ms │     no change │
│ QQuery 20 │     538.51 / 547.02 ±7.72 / 557.88 ms │        526.27 / 545.88 ±19.13 / 579.91 ms │     no change │
│ QQuery 21 │     607.10 / 611.58 ±4.86 / 620.37 ms │         598.59 / 608.24 ±5.54 / 613.50 ms │     no change │
│ QQuery 22 │ 1058.41 / 1075.33 ±17.13 / 1103.97 ms │     1088.14 / 1096.72 ±11.33 / 1119.08 ms │     no change │
│ QQuery 23 │ 3221.00 / 3292.06 ±60.36 / 3362.20 ms │     3191.33 / 3275.89 ±68.29 / 3385.18 ms │     no change │
│ QQuery 24 │        41.61 / 43.30 ±3.11 / 49.52 ms │            44.03 / 45.88 ±2.79 / 51.33 ms │  1.06x slower │
│ QQuery 25 │     112.44 / 114.26 ±1.87 / 117.86 ms │         113.85 / 115.08 ±1.09 / 117.09 ms │     no change │
│ QQuery 26 │        41.78 / 43.21 ±1.37 / 45.63 ms │            42.31 / 44.73 ±4.48 / 53.69 ms │     no change │
│ QQuery 27 │     676.27 / 680.76 ±4.81 / 689.57 ms │         673.28 / 679.12 ±5.02 / 686.49 ms │     no change │
│ QQuery 28 │ 3017.53 / 3060.89 ±36.06 / 3119.43 ms │     1304.85 / 1356.92 ±46.92 / 1435.35 ms │ +2.26x faster │
│ QQuery 29 │        42.86 / 44.58 ±3.04 / 50.66 ms │            41.87 / 42.05 ±0.12 / 42.20 ms │ +1.06x faster │
│ QQuery 30 │     315.51 / 318.66 ±3.02 / 323.65 ms │        301.41 / 321.96 ±21.91 / 358.17 ms │     no change │
│ QQuery 31 │     291.98 / 301.61 ±7.44 / 312.62 ms │         278.18 / 293.35 ±9.52 / 305.20 ms │     no change │
│ QQuery 32 │  975.37 / 1001.33 ±30.14 / 1059.19 ms │        942.87 / 963.30 ±16.15 / 989.27 ms │     no change │
│ QQuery 33 │ 1501.77 / 1548.06 ±44.92 / 1608.88 ms │     1415.69 / 1437.55 ±23.84 / 1477.65 ms │ +1.08x faster │
│ QQuery 34 │ 1425.76 / 1509.14 ±79.26 / 1654.42 ms │     1420.81 / 1534.36 ±62.09 / 1605.84 ms │     no change │
│ QQuery 35 │    306.51 / 337.69 ±28.04 / 383.15 ms │        311.68 / 339.59 ±29.13 / 395.71 ms │     no change │
│ QQuery 36 │        65.29 / 71.15 ±6.82 / 83.82 ms │            68.03 / 74.35 ±5.10 / 81.34 ms │     no change │
│ QQuery 37 │        35.89 / 36.46 ±0.58 / 37.48 ms │            36.92 / 40.40 ±4.32 / 48.68 ms │  1.11x slower │
│ QQuery 38 │        40.32 / 43.74 ±5.19 / 53.98 ms │            41.47 / 46.39 ±4.86 / 55.21 ms │  1.06x slower │
│ QQuery 39 │    129.89 / 143.47 ±10.53 / 155.86 ms │         153.57 / 160.40 ±5.33 / 168.06 ms │  1.12x slower │
│ QQuery 40 │        14.31 / 14.69 ±0.27 / 15.04 ms │            15.27 / 15.71 ±0.29 / 16.03 ms │  1.07x slower │
│ QQuery 41 │        13.72 / 14.00 ±0.15 / 14.15 ms │            15.06 / 17.35 ±3.68 / 24.69 ms │  1.24x slower │
│ QQuery 42 │        13.20 / 13.40 ±0.10 / 13.48 ms │            14.14 / 16.46 ±4.31 / 25.08 ms │  1.23x slower │
└───────────┴───────────────────────────────────────┴───────────────────────────────────────────┴───────────────┘
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ Benchmark Summary                                        ┃            ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ Total Time (HEAD)                                        │ 20315.35ms │
│ Total Time (perf_generic-regexpreplace-prefix-capture)   │ 18488.64ms │
│ Average Time (HEAD)                                      │   472.45ms │
│ Average Time (perf_generic-regexpreplace-prefix-capture) │   429.97ms │
│ Queries Faster                                           │          4 │
│ Queries Slower                                           │         11 │
│ Queries with No Change                                   │         28 │
│ Queries with Failure                                     │          0 │
└──────────────────────────────────────────────────────────┴────────────┘

Resource Usage

clickbench_partitioned — base (merge-base)

Metric Value
Wall time 105.0s
Peak memory 29.5 GiB
Avg memory 22.8 GiB
CPU user 1055.4s
CPU sys 71.2s
Peak spill 0 B

clickbench_partitioned — branch

Metric Value
Wall time 95.0s
Peak memory 29.2 GiB
Avg memory 22.6 GiB
CPU user 950.5s
CPU sys 69.5s
Peak spill 0 B

File an issue against this benchmark runner

@Dandandan
Copy link
Copy Markdown
Contributor Author

nice, there is still quite some potential

│ QQuery 28 │ 3017.53 / 3060.89 ±36.06 / 3119.43 ms │     1304.85 / 1356.92 ±46.92 / 1435.35 ms │ +2.26x faster │

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

Labels

functions Changes to functions implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants