Skip to content

perf: skip reads for empty fd captures - #968

Merged
tobiasraabe merged 2 commits into
mainfrom
codex/optimize-empty-fd-capture
Aug 28, 2026
Merged

tobiasraabe merged 2 commits into
mainfrom
codex/optimize-empty-fd-capture

Conversation

@tobiasraabe

Copy link
Copy Markdown
Member

Skip seek, read, and truncate operations when an FD capture file is empty. Adds regression coverage for text and binary FD capture and documents the performance improvement in the changelog. Ported from pytest-dev/pytest@2786ed2. Validation: the full capture test module and just lint pass.

@tobiasraabe
tobiasraabe force-pushed the codex/optimize-empty-fd-capture branch from dfa6df7 to 466f753 Compare August 28, 2026 20:32
@tobiasraabe
tobiasraabe added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit df1251d Aug 28, 2026
23 checks passed
@tobiasraabe
tobiasraabe deleted the codex/optimize-empty-fd-capture branch August 28, 2026 20:42
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.

1 participant