You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: cache path resolution and validity checks in tracer hot path
Replace per-call Path.is_relative_to() and Path.exists() (stat syscall)
with a single cached lookup per unique co_filename. Use os.path.realpath
and str.startswith instead of pathlib to avoid object allocation on the
hot path. Profile showed these pathlib ops at ~15% self-time.
0 commit comments