⬅︎ Back to Python optimization anecdote
Isn't timeit just for strings of code?In my setup I was able to "listen in" on a running program.
Instead of writing your own timing stuff, why not use the timeit module in the standard library?
Comment
Isn't timeit just for strings of code?
In my setup I was able to "listen in" on a running program.
Parent comment
Instead of writing your own timing stuff, why not use the timeit module in the standard library?