Skip to content

Stream PCO slices and compact PiecewiseSequence range takes - #10829

Draft
danking wants to merge 2 commits into
dk/pco-selective-takefrom
dk/pco-selective-ranges
Draft

danking wants to merge 2 commits into
dk/pco-selective-takefrom
dk/pco-selective-ranges

Apply pinned formatting to the indexed-slice condition

26de111
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis succeeded Oct 26, 2026

Performance Gate Passed

4 warnings, 1 note

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ Unable to measure the execution of 2 benchmarks

These benchmarks measured no execution time, so their results are not comparable and count as unchanged. This usually happens when the compiler removes the code under test.

Prevent compiler optimizations

See affected benchmarks

⚠️ 18 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ Base and head ran on different runner types

Some benchmarks with significant performance changes were compared across different runner types, so the changes might not come from the code. Run base and head on the same runner type, or use CodSpeed Macro Runners for more stable results.

Learn more about Macro Runners

Open the report in CodSpeed to investigate

ℹ️ 40 benchmarks have no flamegraph

The flamegraph wasn't generated: the symbols of the profiling trace could not be resolved, because no information about the language frames was collected.

See affected benchmarks

⚡ 7 improved benchmarks
✅ 2458 untouched benchmarks
⏩ 12 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ CPU Simulation selection[("ranges", true)] 2,074.4 µs 694.8 µs ×3
⚡ CPU Simulation selection[("ranges", false)] 1,692.1 µs 697.8 µs ×2.4
⚡ CPU Simulation selection[("near_full", true)] 540.1 ms 323.3 ms +67.06%
⚡ CPU Simulation chunked_dict_primitive_canonical_into[f64, (1000, 1000, 10)] 200.7 µs 146.4 µs +37.1%
⚡ CPU Simulation selection[("near_full", false)] 344.2 ms 287.7 ms +19.61%
⚡ CPU Simulation metadata_open_batch[false] 652.6 ms 577.7 ms +12.97%
⚡ CPU Simulation metadata_open_batch[true] 646.6 ms 582.5 ms +11%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing dk/pco-selective-ranges (26de111) with dk/pco-selective-take (eea0ae2)

Open in CodSpeed

Footnotes

  1. 12 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. ↩