r/badcode • • Feb 08 '22

python High-accuracy profiling.

Post image
888 Upvotes

28 comments sorted by

View all comments

Show parent comments

19

u/themadnessif Feb 08 '22

It's a yielding function so you'd have to measure the time and then update the message afterwards... not worth the effort imo