Skip to content

chore: benchmark with execution context input#7429

Merged
joseph-isaacs merged 2 commits intodevelopfrom
ji/exe-ctx-thread
Apr 14, 2026
Merged

chore: benchmark with execution context input#7429
joseph-isaacs merged 2 commits intodevelopfrom
ji/exe-ctx-thread

Conversation

@joseph-isaacs
Copy link
Copy Markdown
Contributor

@joseph-isaacs joseph-isaacs commented Apr 14, 2026

Create execution context outside of benchmark hot loop

Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 14, 2026

Merging this PR will improve performance by ×2.2

⚡ 4 improved benchmarks
✅ 1119 untouched benchmarks
⏩ 1455 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation chunked_constant_utf8_append_to_builder[("hi", 1000, 10)] 143.3 µs 105.5 µs +35.8%
Simulation chunked_dict_primitive_into_canonical[u32, (1000, 10, 10)] 151 µs 120.5 µs +25.28%
Simulation case_when_fragmented[100] 152.8 µs 121.9 µs +25.43%
Simulation fsst_contains[urls] 10.5 ms 4.8 ms ×2.2

Comparing ji/exe-ctx-thread (e35cfd1) with develop (1a56560)

Open in CodSpeed

Footnotes

  1. 1455 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

f
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
@joseph-isaacs joseph-isaacs added the changelog/skip Do not list PR in the changelog label Apr 14, 2026
@joseph-isaacs joseph-isaacs marked this pull request as ready for review April 14, 2026 15:45
@joseph-isaacs joseph-isaacs merged commit 3f56b09 into develop Apr 14, 2026
64 of 65 checks passed
@joseph-isaacs joseph-isaacs deleted the ji/exe-ctx-thread branch April 14, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/skip Do not list PR in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants