pg.ddx.io  pgdogdev/pgdog GitHub issues and pull requests  
help / color / mirror / Atom feed
From: github-actions[bot] (bot) (@github-actions[bot]) <noreply+github-actions[bot]@github.com>
To: pgdogdev/pgdog <noreply+pgdogdev-pgdog@github.com>
Subject: Re: [pgdogdev/pgdog] PR #2042: refactor: split multi_step/subquery/mod.rs + subfolder for clause handling + clean up WHERE EXISTS
Date: Wed, 18 Nov 2026 22:02:58 +0000
Message-ID: <gh-pgdogdev-pgdog-2042-c6992927949@github.com> (raw)
In-Reply-To: <gh-pgdogdev-pgdog-2042@github.com>
References: <gh-pgdogdev-pgdog-2042@github.com>

<!-- metal-bench-x86 -->

**Metal bench (x86) passed.** All 520 measures within bounds.

| suite | throughput | cpu/txn | user cycles/txn | user instr/txn | kernel cycles/txn | kernel instr/txn | ctx/txn |
|---|---|---|---|---|---|---|---|
| pooler |  | 25.81 (-0.0% ± 0.3%) | 18,828 (+0.2% ± 0.4%) | 32,760 (+0.3% ± 0.8%) | 33,431 (-0.2% ± 0.3%) | 36,385 (-0.3% ± 0.5%) |  |
| lb |  | 26.29 (+0.1% ± 0.4%) | 19,465 (+0.0% ± 0.1%) | 33,742 (-0.0% ± 0.03%) | 33,704 (+0.1% ± 0.8%) | 37,265 (+0.0% ± 0.4%) |  |
| sharding-w2 |  | 41.85 (-0.1% ± 0.7%) | 47,147 (-0.3% ± 0.4%) | 98,596 (-0.0% ± 0.03%) | 38,189 (+0.2% ± 2.2%) | 40,144 (+0.0% ± 0.08%) | 1.53 (+0.0% ± 0.2%) |
| sharding-w8 | 205,264 (-0.1% ± 0.8%) | 33.04 (+0.1% ± 0.6%) | 46,066 (+0.1% ± 0.8%) | 52,956 (+0.0% ± 0.03%) | 31,476 (+0.1% ± 0.4%) | 32,558 (+0.0% ± 0.05%) | 0.1746 (+0.1% ± 1.2%) |

<details><summary>Counters per txn</summary>

| suite | frontend stall | l1i refill | backend stall |
|---|---|---|---|
| pooler | 3,655 (-0.0% ± 0.5%) | 1,126 (-0.5% ± 0.6%) | 38,215 (+0.2% ± 0.8%) |
| lb | 3,956 (+0.0% ± 0.7%) | 1,176 (-0.1% ± 1.5%) | 38,534 (-0.1% ± 0.6%) |
| sharding-w2 | 6,935 (-0.2% ± 0.7%) | 1,590 (-0.0% ± 0.8%) | 111,841 (-0.6% ± 1.0%) |
| sharding-w8 | 3,598 (+0.2% ± 1.3%) | 932 (+0.2% ± 1.2%) | 177,280 (+0.2% ± 1.4%) |
</details>

Microbench: all 507 measures within bounds.

<details><summary>Hot code per txn</summary>

| path | base | head | change |
|---|---|---|---|
| pooler | 113.9 KB | 114.1 KB | **+0.1 KB** |
| sharding-w2 | 168.6 KB | 168.1 KB | **-0.6 KB** |

pooler:

| crate | base | head | change |
|---|---|---|---|
| pgdog::frontend::client::query_engine | 22.2 KB | 22.3 KB | +0.1 KB |
| tokio | 18.4 KB | 18.7 KB | +0.3 KB |
| pgdog::backend::pool | 18.2 KB | 18.4 KB | +0.2 KB |
| pgdog::frontend (other) | 9.2 KB | 9.2 KB | -0.1 KB |
| aws-lc (TLS crypto) | 8.8 KB | 8.4 KB | -0.3 KB |
| pgdog::backend::server | 8.1 KB | 8.1 KB | +0.0 KB |
| rustls (TLS) | 7.8 KB | 7.7 KB | -0.1 KB |
| other | 5.8 KB | 6.0 KB | +0.2 KB |
| everything else | 15.6 KB | 15.2 KB | -0.4 KB |

| function | head | change |
|---|---|---|
| `pgdog::frontend::client::Client::run::{{closure}}` | 7.1 KB | -0.1 KB |
| `pgdog::frontend::client::query_engine::query::<impl pgdog::frontend::client::query_engine:` | 6.5 KB | +0.0 KB |
| `pgdog::frontend::client::query_engine::QueryEngine::handle::{{closure}}` | 4.6 KB | -0.1 KB |
| `pgdog::frontend::client::query_engine::query::<impl pgdog::frontend::client::query_engine:` | 3.9 KB | +0.1 KB |
| `tokio::runtime::task::raw::poll` | 3.7 KB | +0.1 KB |

sharding-w2:

| crate | base | head | change |
|---|---|---|---|
| pgdog::frontend::router | 27.8 KB | 28.1 KB | +0.2 KB |
| pgdog::frontend::client::query_engine | 23.7 KB | 23.8 KB | +0.1 KB |
| pgdog::backend::pool | 19.2 KB | 19.1 KB | -0.1 KB |
| tokio | 18.6 KB | 18.4 KB | -0.2 KB |
| other | 10.6 KB | 10.8 KB | +0.2 KB |
| pgdog::frontend (other) | 10.8 KB | 10.6 KB | -0.2 KB |
| aws-lc (TLS crypto) | 9.9 KB | 9.7 KB | -0.2 KB |
| pgdog::backend::server | 8.8 KB | 8.8 KB | +0.0 KB |
| everything else | 39.2 KB | 38.9 KB | -0.3 KB |

| function | head | change |
|---|---|---|
| `pgdog::frontend::client::Client::run::{{closure}}` | 8.1 KB | -0.1 KB |
| `pgdog::frontend::client::query_engine::query::<impl pgdog::frontend::client::query_engine:` | 6.6 KB | +0.1 KB |
| `pgdog::frontend::client::query_engine::QueryEngine::handle::{{closure}}` | 4.6 KB | +0.0 KB |
| `pgdog::frontend::router::parser::query::select::<impl pgdog::frontend::router::parser::que` | 4.1 KB | -0.2 KB |
| `tokio::runtime::task::raw::poll` | 3.9 KB | -0.2 KB |

</details>

<details><summary>lb flamegraph vs 34ef3092</summary>

![lb](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...) for hover, zoom and search.

![lb removed](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...).
</details>
<details><summary>microbench flamegraph vs 34ef3092</summary>

![microbench](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...) for hover, zoom and search.

![microbench removed](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...).
</details>
<details><summary>pooler flamegraph vs 34ef3092</summary>

![pooler](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...) for hover, zoom and search.

![pooler removed](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...).
</details>
<details><summary>sharding-w2 flamegraph vs 34ef3092</summary>

![sharding-w2](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...) for hover, zoom and search.

![sharding-w2 removed](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...).
</details>
<details><summary>sharding-w8 flamegraph vs 34ef3092</summary>

![sharding-w8](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...) for hover, zoom and search.

![sharding-w8 removed](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...)

[Open interactive](https://pgdog-metal-bench.s3.amazonaws.com/results-x86/jk-subquery-refactor/f59ca123729d916b8492ccbf...).
</details>

<details><summary>Logs</summary>

[lb](https://s3.console.aws.amazon.com/s3/object/pgdog-metal-bench?prefix=results-x86/jk-subquery-refacto...), [microbench](https://s3.console.aws.amazon.com/s3/object/pgdog-metal-bench?prefix=results-x86/jk-subquery-refacto...), [pooler](https://s3.console.aws.amazon.com/s3/object/pgdog-metal-bench?prefix=results-x86/jk-subquery-refacto...), [sharding-w2](https://s3.console.aws.amazon.com/s3/object/pgdog-metal-bench?prefix=results-x86/jk-subquery-refacto...), [sharding-w8](https://s3.console.aws.amazon.com/s3/object/pgdog-metal-bench?prefix=results-x86/jk-subquery-refacto...), [verdict.json](https://s3.console.aws.amazon.com/s3/object/pgdog-metal-bench?prefix=results-x86/jk-subquery-refacto...)
</details>

Compared f59ca123 with 34ef3092 on c7i.metal-48xl (on-demand).


view thread (6+ messages)  latest in thread

Message-ID: <gh-pgdogdev-pgdog-2042-c6992927949@github.com>
Permalink:  ../gh-pgdogdev-pgdog-2042-c6992927949@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox