don't use time.time() for performance measurement (beginner - intermediate) anthony explains #230

preview_player
Показать описание


==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

when dealing with large constants, you can use it in this manner, `a = 1_000_000`. This still works the same as before but provides more readability without having to count zeroes.

abhyudai
Автор

Great video! I usually measure performance by the linux command time.

kevinmontero
Автор

Thanks for another great video! It's amazing how many tutorials and medium articles use conventions like time.time(). Have you done any videos on makefiles? I came across a repo that used a makefile to start a local development environment and was curious your thoughts on where it is/isn't useful.

kylespanishes
Автор

monotonic_ns seems to lack a lot of precision as compared to perf_counter_ns on Windows systems. How much do these differ implementation-side?

RealistikDash
Автор

Great video as always! Looking forward for the next ones :)

andidomi
Автор

Nice video Anthony! What other Python YouTubers would you recommend for the intermediate to advanced level?

definty
Автор

Hi Anthony. Thanks yet for another cool video. I have recently learned that Jupyter widgets exists and I tried to use it to create a simple GUI for my already existing python script. I had to adapt the script to be able to import it and use in Jupyter. Do you use Jupyter and do you find widgets useful? Would you have some tips for Jupyter and script integration with Jupyter widgets? Thanks!

spidermila
Автор

Anthony is there a way to set a timer, without using time.sleep. I am working on drowsiness detection but I want to change the frame threshold after every 15 min. How do I set the time in python. Thanks

kojoessel
Автор

Thanks but how to get cpu time and not only real time ?

optimiserlenergie
Автор

what about perf_counter? Can't we use that?

muhammadsarimmehdi
Автор

Can you please make a video on how to build classes with efficient support for lazy loading?

akshaymestry
Автор

in 6:18 you have only 8 zeros and you need 9, why not just writing 10**9?

yoav_caspi