astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
[ty] Nest member lookup query (#25667) See: https://github.com/astral-sh/ruff/pull/25661#discussion_r3364057769
main
6 minutes ago
[ty] Nest member lookup query
charlie/nest-member-lookup-query
12 minutes ago
[ty] Avoid caching trivial overload query results
charlie/consolidate-simple-type-queries
18 minutes ago
[ty] Avoid caching trivial query results
charlie/consolidate-simple-type-queries
36 minutes ago
[ty] Consolidate retained narrowing constraints (#25660) ## Summary Reachability always requests both positive and negative narrowing constraints for an expression predicate. We currently retain each polarity in a separate Salsa query, even though both queries load the same expression and traverse the same predicate. This change computes both polarities in one tracked query and returns the pair together to reachability. The positive and negative constraints remain separate, but we avoid retaining duplicate query metadata and arguments.
main
36 minutes ago
[ty] Avoid caching atomic type specializations (#25663) ## Summary `apply_specialization` currently creates and retains a Salsa query for every input type, including atomic types whose specialization always returns the original type. This change handles those specialization-invariant variants before entering the tracked query. Types that can contain type variables continue through the existing tracked implementation, preserving specialization and cycle behavior. On a large codebase, this reduced retained memory by 1.06% without a measurable runtime regression.
main
37 minutes ago
[ty] Avoid caching trivial member lookups (#25661) ## Summary `member_lookup_with_policy` currently creates and retains a Salsa query even when the result is known before attribute lookup: for `__class__`, and for dynamic, divergent, and `Never` types. This change handles those cases before entering the tracked query. Materialized divergent fallbacks and the existing `__class__` ordering are preserved; all other lookups continue through the unchanged tracked implementation.
main
37 minutes ago
[ty] Avoid caching simple place lookups
charlie/avoid-caching-simple-place-lookups
47 minutes ago
Latest Branches
CodSpeed Performance Gauge
0%
[ty] Nest member lookup query
#25667
21 minutes ago
bd4060a
charlie/nest-member-lookup-query
CodSpeed Performance Gauge
-17%
[ty] Avoid caching trivial overload query results
#25666
45 minutes ago
d327335
charlie/consolidate-simple-type-queries
CodSpeed Performance Gauge
0%
[ty] Avoid caching simple place lookups
#25665
57 minutes ago
cf4389e
charlie/avoid-caching-simple-place-lookups
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs