Skip to content

Conversation

@dduan
Copy link
Owner

@dduan dduan commented Jan 8, 2026

Reduce retain traffic when copying TOMLDocument.

Reduce retain traffic when copying TOMLDocument.
@dduan dduan enabled auto-merge (squash) January 8, 2026 10:02
@dduan dduan closed this Jan 8, 2026
auto-merge was automatically disabled January 8, 2026 10:03

Pull request was closed

@dduan dduan deleted the dd/document-wrap-parsed-data-in-storage-ref branch January 8, 2026 10:03
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

Comparing results between 'main' and 'pull_request'

Host 'runnervmh13bl' with 4 'x86_64' processors with 15 GB memory, running:
#18~24.04.1-Ubuntu SMP Sat Jun 28 04:46:03 UTC 2025

TOMLDecoderBenchmarks

Decode toml.io example metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (μs) * p0 p25 p50 p75 p90 p99 p100 Samples
main 68 69 69 70 74 87 134 7107
pull_request 64 64 65 65 69 84 130 7390
Δ -4 -5 -4 -5 -5 -3 -4 283
Improvement % 6 7 6 7 7 3 3 283

Retains: results within specified thresholds, fold down for details.

Retains * p0 p25 p50 p75 p90 p99 p100 Samples
main 622 622 622 622 622 622 622 7107
pull_request 438 438 438 438 438 438 438 7390
Δ -184 -184 -184 -184 -184 -184 -184 283
Improvement % 30 30 30 30 30 30 30 283

Parse toml.io example metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (ns) * p0 p25 p50 p75 p90 p99 p100 Samples
main 5961 6083 6123 6163 6231 9295 30408 10000
pull_request 6111 6231 6275 6323 6415 10415 30247 10000
Δ 150 148 152 160 184 1120 -161 0
Improvement % -3 -2 -2 -3 -3 -12 1 0

Retains: results within specified thresholds, fold down for details.

Retains * p0 p25 p50 p75 p90 p99 p100 Samples
main 5 6 6 6 6 6 6 10000
pull_request 5 6 6 6 6 6 6 10000
Δ 0 0 0 0 0 0 0 0
Improvement % 0 0 0 0 0 0 0 0

decode canada.toml metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (ms) * p0 p25 p50 p75 p90 p99 p100 Samples
main 262 262 264 264 265 265 265 4
pull_request 253 253 254 254 255 255 255 4
Δ -9 -9 -10 -10 -10 -10 -10 0
Improvement % 3 3 4 4 4 4 4 0

Retains: results within specified thresholds, fold down for details.

Retains (K) * p0 p25 p50 p75 p90 p99 p100 Samples
main 1674 1674 1674 1674 1674 1674 1674 4
pull_request 1226 1226 1226 1226 1226 1226 1226 4
Δ -448 -448 -448 -448 -448 -448 -448 0
Improvement % 27 27 27 27 27 27 27 0

decode twitter.toml metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (μs) * p0 p25 p50 p75 p90 p99 p100 Samples
main 8937 8987 9003 9036 9069 9347 9495 110
pull_request 8288 8405 8413 8438 8495 8684 8887 118
Δ -649 -582 -590 -598 -574 -663 -608 8
Improvement % 7 6 7 7 6 7 6 8

Retains: results within specified thresholds, fold down for details.

Retains (K) * p0 p25 p50 p75 p90 p99 p100 Samples
main 66 66 66 66 66 66 66 110
pull_request 45 45 45 45 45 45 45 118
Δ -21 -21 -21 -21 -21 -21 -21 8
Improvement % 32 32 32 32 32 32 32 8

parse GitHub events archive metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (ms) * p0 p25 p50 p75 p90 p99 p100 Samples
main 165 165 166 166 179 179 179 6
pull_request 166 166 166 173 178 178 178 6
Δ 1 1 0 7 -1 -1 -1 0
Improvement % -1 -1 0 -4 1 1 1 0

Retains: results within specified thresholds, fold down for details.

Retains (K) * p0 p25 p50 p75 p90 p99 p100 Samples
main 77 77 77 77 77 77 77 6
pull_request 77 77 77 77 77 77 77 6
Δ 0 0 0 0 0 0 0 0
Improvement % 0 0 0 0 0 0 0 0

parse canada.toml metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (ms) * p0 p25 p50 p75 p90 p99 p100 Samples
main 16 17 17 18 18 19 19 58
pull_request 18 18 19 19 19 20 20 54
Δ 2 1 2 1 1 1 1 -4
Improvement % -12 -6 -12 -6 -6 -5 -5 -4

Retains: results within specified thresholds, fold down for details.

Retains * p0 p25 p50 p75 p90 p99 p100 Samples
main 129 130 130 130 130 130 130 58
pull_request 129 130 130 130 130 130 130 54
Δ 0 0 0 0 0 0 0 -4
Improvement % 0 0 0 0 0 0 0 -4

parse twitter.toml metrics

Time (wall clock): results within specified thresholds, fold down for details.

Time (wall clock) (μs) * p0 p25 p50 p75 p90 p99 p100 Samples
main 2735 2771 2777 2789 2943 4041 5116 346
pull_request 2760 2779 2787 2796 2810 2898 3354 352
Δ 25 8 10 7 -133 -1143 -1762 6
Improvement % -1 0 0 0 5 28 34 6

Retains: results within specified thresholds, fold down for details.

Retains * p0 p25 p50 p75 p90 p99 p100 Samples
main 1289 1290 1290 1290 1290 1290 1290 346
pull_request 1289 1290 1290 1290 1290 1290 1290 352
Δ 0 0 0 0 0 0 0 6
Improvement % 0 0 0 0 0 0 0 6

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants