Skip to content

ignore: benchmark Python workspace discovery and matching - #3554

Open
charliermarsh wants to merge 1 commit into
BurntSushi:masterfrom
charliermarsh:upstream/ignore-workspace-benchmarks
Open

charliermarsh wants to merge 1 commit into
BurntSushi:masterfrom
charliermarsh:upstream/ignore-workspace-benchmarks

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Oct 15, 2026 •

Copy link
Copy Markdown

We add benchmarks for the ignore operations used by Ruff, uv, and ty: serial and parallel walks, early-exit workspace discovery, and incremental path matching. The 39 cases cover different project layouts, nested ignore rules, multiple roots, and cached directories.

We create fixtures before timing and check their expected file counts during walks. The README links the consumer call sites and describes how to compare profiles. These measure library work with a warm filesystem cache, not end-to-end application performance.

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