r/madeinpython • u/NoLifeGamer2 • Jan 14 '23
Deep-timeit: Time each individual line of a function in python!
Deep-timeit is a module that allows accurate and granular timing of a function in python, and produces a colour-coded heat-map of the results! This can be very useful when your code runs too slowly, and you want to find the bottlenecks!
22
Upvotes
1
Jan 14 '23
!RemindMe 12 hours
I wonder how its able to do this, I wasn't aware that python could break down functions via each line and then do something with that.
1
u/RemindMeBot Jan 14 '23
I will be messaging you in 12 hours on 2023-01-15 10:19:02 UTC to remind you of this link
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
Info Custom Your Reminders Feedback
1
u/[deleted] Jan 15 '23
!RemindMe 24 hours