-
Notifications
You must be signed in to change notification settings - Fork 216
Closed
astral-sh/ruff
#19867Labels
performancePotential performance improvementPotential performance improvement
Description
I noticed that running ty on a large project overall shows low CPU saturation (specifically the longer checking runs)
Screencast.From.2025-08-11.10-57-43.mp4
I did record a CPU profile and one thing that stands out is that we spend a lot of time in salsa's intern_id for CallableType
and
All call sites come from ReachabilityConstraints::evaluate.
Ideally, we'd reduce the cost of interning in salsa. If that doesn't work, we may want to take a look if we can reduce the number of callable types that we construct.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
performancePotential performance improvementPotential performance improvement