The Easiest Way To Find Performance Bottlenecks in Python [ft.cProfile]
Автор: Haseeb Kamal
Загружено: 3 сент. 2023 г.
Просмотров: 1 682 просмотра
While time statements are ok to use in small scripts, for larger software projects, they are not feasible. We use code profilers to professionally and systematically analyze code to figure out what is causing slow-downs and where. This can dramatically help optimize slow code and save a lot of time reading through code.
Probably the most useful tool for a Python Programmer.
Source code:
https://github.com/mhkamal1/yt-conten...
00:00 Intro
00:42 Code walkthrough
01:20 Code: How to use cProfile
02:15 Profiling Results!
02:37 Profiling results: Difference between total and cum time
03:22 Profiling results: Fetch orders
04:08 Visualize with snakeviz
04:28 Icicle chart with snakeviz!
05:53 Wrap
Please consider liking if you found the video useful and subscribe for more!
Subscribe here: / @haseebkamal
![The Easiest Way To Find Performance Bottlenecks in Python [ft.cProfile]](https://ricktube.ru/thumbnail/i24jvJ-PN84/hq720.jpg)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: