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
{{ message }}
Repository navigation
Would a section on performance be of interest? #1110
I feel like a section on common performance pitfalls in Python could be highly useful, not only to new Python programmers but also as a reference for intermediate programmers and up.
Potentially such a section could also include tips on how to profile and/or benchmark Python code.
Activity
synckerz commentedon Nov 9, 2026
Hi,
I would like to contribute to this topic by exploring a concise section covering Python performance measurement and profiling.
I am considering practical examples using
timeitandcProfile, together with guidance on running fair and repeatable benchmarks.Would this fit the current scope of the Python Guide?
Thanks!