Skip to content

perf: Reduce allocation churn in PosixFS::scandir_sync#23393

Open
tobni wants to merge 1 commit into
pantsbuild:mainfrom
tobni:perf/reduce-scandir-allocations
Open

perf: Reduce allocation churn in PosixFS::scandir_sync#23393
tobni wants to merge 1 commit into
pantsbuild:mainfrom
tobni:perf/reduce-scandir-allocations

Conversation

@tobni

@tobni tobni commented May 31, 2026

Copy link
Copy Markdown
Contributor

Avoids reallocating path-string buffers multiple times per directory scan entry.

Noticable in perf traces, scales with repository sizes.

@tobni tobni added category:internal CI, fixes for not-yet-released features, etc. release-notes:not-required [CI] PR doesn't require mention in release notes category:performance labels May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:internal CI, fixes for not-yet-released features, etc. category:performance release-notes:not-required [CI] PR doesn't require mention in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant