Skip to content

Conversation

blindspotbounty
Copy link
Contributor

Before inlining:

====================
PrometheusBenchmarks
====================

DurationHistogram
╒═══════════════════════════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╕
│ Metric                        │        p0 │       p25 │       p50 │       p75 │       p90 │       p99 │      p100 │   Samples │
╞═══════════════════════════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╡
│ Instructions *                │      3213 │      3215 │      3215 │      3217 │      3219 │      3432 │      3452 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Malloc (total) *              │         0 │         0 │         0 │         0 │         0 │         0 │         0 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Memory (resident peak) (K)    │      8421 │      8757 │      8774 │      8790 │      8798 │      8798 │      8798 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Throughput (# / s) (K)        │      4556 │      4135 │      4009 │      3877 │      3765 │      3569 │      3272 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Time (total CPU) (ns) *       │       221 │       244 │       252 │       260 │       268 │       282 │       307 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Time (wall clock) (ns) *      │       220 │       242 │       249 │       258 │       266 │       280 │       306 │     10000 │
╘═══════════════════════════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╛

After inlining:

====================
PrometheusBenchmarks
====================

DurationHistogram
╒═══════════════════════════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╤═══════════╕
│ Metric                        │        p0 │       p25 │       p50 │       p75 │       p90 │       p99 │      p100 │   Samples │
╞═══════════════════════════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╪═══════════╡
│ Instructions *                │       281 │       281 │       281 │       281 │       281 │       283 │       299 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Malloc (total) *              │         0 │         0 │         0 │         0 │         0 │         0 │         0 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Memory (resident peak) (K)    │      8405 │      8724 │      8741 │      8757 │      8765 │      8765 │      8765 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Throughput (# / s) (M)        │        53 │        51 │        51 │        48 │        42 │        36 │        26 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Time (total CPU) (ns) *       │        20 │        21 │        22 │        23 │        26 │        30 │        40 │     10000 │
├───────────────────────────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┼───────────┤
│ Time (wall clock) (ns) *      │        19 │        20 │        20 │        21 │        24 │        28 │        39 │     10000 │
╘═══════════════════════════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╧═══════════╛

Used cherry pick benchmarks from this PR: #106

@FranzBusch FranzBusch added the 🔨 semver/patch No public API change. label Jun 13, 2025
@blindspotbounty
Copy link
Contributor Author

(Just in case) the small note: I don't have permissions to merge to this repo.

@incertum
Copy link
Contributor

@FranzBusch would this be ready to merge? Thank you!

@FranzBusch FranzBusch merged commit bf4a4c3 into swift-server:main Jul 28, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants