Skip to content

Feat/zero copy slice - #13

Merged
jcfangc merged 22 commits into
mainfrom
feat/zero-copy-slice
Jun 27, 2026
Merged

Feat/zero copy slice#13
jcfangc merged 22 commits into
mainfrom
feat/zero-copy-slice

fix: ci use common prefix 'bit_' for CodSpeed filter

e2156a6
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Jun 27, 2026 in 0s

14 benchmarks regressed

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 17 improved benchmarks
❌ 14 regressed benchmarks
✅ 69 untouched benchmarks
🆕 71 new benchmarks
⏩ 11 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
pop/len_65/bit_string 1 µs 1.9 µs -46.68%
not/len_65/sparse/bit_string 919.7 ns 1,690.8 ns -45.61%
starts_with/len_65/yes/bit_string 216.1 ns 278.9 ns -22.51%
zeros/len_4096/bit_string 2 µs 2.3 µs -14.98%
matches_at/len_65/no/aligned/bit_string 368.3 ns 430.8 ns -14.51%
matches_at/len_65/yes/aligned/bit_string 368.3 ns 430.8 ns -14.51%
find/len_65536/miss/bit_string 402.1 µs 469 µs -14.26%
starts_with/len_65/no/bit_string 245.3 ns 278.9 ns -12.05%
remove_middle/len_65/bit_string 3.1 µs 3.5 µs -11.35%
rfind/len_65536/miss/bit_string 402.2 µs 453.6 µs -11.32%
starts_with/len_65536/no/bit_string 528.3 ns 591.1 ns -10.62%
starts_with/len_65536/yes/bit_string 530.3 ns 593.1 ns -10.59%
ends_with/len_65/no/bit_string 308.9 ns 343.6 ns -10.11%
ends_with/len_65/yes/bit_string 308.9 ns 343.6 ns -10.11%
rfind/len_65536/end/bit_string 12.3 µs 2.7 µs ×4.6
rfind/len_65/end/bit_string 2.3 µs 1.1 µs ×2.2
not/len_4096/alternating/bit_string 2.8 µs 1.5 µs +85.14%
find/len_65/end/bit_string 2.8 µs 1.6 µs +82.09%
xor/len_4096/alternating/bit_string 3 µs 1.7 µs +80%
find/len_65/middle/bit_string 2.2 µs 1.3 µs +68.71%
... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing feat/zero-copy-slice (e2156a6) with main (5ea7b64)

Open in CodSpeed

Footnotes

  1. 11 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.