У нас вы можете посмотреть бесплатно BEST Practises For SIMPLE Benchmarks In Python или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video I'll be sharing with you some of the best practises when it comes to benchmarking your code. Now if there's anything I learned with benchmarking code in Python, it's that it's incredibly easy to create biased results. Also, I absolutely recommend your check out this article before you start doing your own benchmarks: https://superfastpython.com/python-be... ▶ Become job-ready with Python: https://www.indently.io ▶ Follow me on Instagram: / indentlyreels 00:00 Intro 00:11 You shouldn’t bother optimising your code 00:47 The first thing to keep in mind 01:49 Practical tips for optimising your code 02:01 List comprehension vs for loop benchmark 03:33 Things that can go wrong… 04:19 Warm up code 05:20 Different Python versions can give you different results 05:47 Garbage collector 06:56 Learn more about good benchmark practices 07:19 How I used to time code 08:11 That’s all for today!