Skip to content

Reduce V2 scan filtering, planning, and repeated file reads - #10844

Draft
joseph-isaacs wants to merge 25 commits into
developfrom
ji/codex/optimize-scan-v2-10799
Draft

joseph-isaacs wants to merge 25 commits into
developfrom
ji/codex/optimize-scan-v2-10799

Avoid prefetching dictionary values already retained by file scans

b0caf5a
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Oct 27, 2026 in 0s

Performance Regression: -3.73%

2 warnings

⚠️ 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

⚠️ 1 benchmark is 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

⚡ 1 improved benchmark
❌ 1 regressed benchmark
✅ 2202 untouched benchmarks
⏩ 370 skipped benchmarks1
🗄️ 30 archived benchmarks run2

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ CPU Simulation missing_stats[16] 71 µs 87.8 µs -19.09%
⚡ Walltime threshold_avx2[80] 3 µs 2.6 µs +14.56%

Tip

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


Comparing ji/codex/optimize-scan-v2-10799 (b0caf5a) with develop (088118b)

Open in CodSpeed

Footnotes

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

  2. 30 benchmarks were run, but are now archived. If they were deleted in another branch, consider rebasing to remove them from the report. Instead if they were added back, click here to restore them. ↩