Тёмный

Optimize Your Python Programs: Code Profiling with cProfile 

NeuralNine
Подписаться 350 тыс.
Просмотров 34 тыс.
50% 1

In this video, we learn how to professionally profile Python code using cProfile, to optimize the speed of our programs.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord
🎵 Outro Music From: www.bensound.com/

Наука

Опубликовано:

 

5 янв 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 30   
@csm9446
@csm9446 Год назад
Great content. Excellent tutorial. In 15 minutes you passed all the information to get started with python's cProfile. Thanks!
@gitarrtoken
@gitarrtoken Год назад
Great tutorials as always! Started watching lots of your tutorials lately, just great content 🎉
@JustMaiyak
@JustMaiyak Год назад
There’s a new profiler that got putt last year as well, it’s called scalene. Used it a couple of times, it’s a solid alternative to cProfile
@authentic_101
@authentic_101 2 месяца назад
Austin is faster than simpler use cases?
@danielgranjaconejeros6355
@danielgranjaconejeros6355 3 месяца назад
Was looking for py-spy tutorials but yours on cProfile is so practical that I will go with this tool. Thanks!
@nintishia
@nintishia Год назад
Content is extremely useful for python developers.
@x9rtu3os1t8
@x9rtu3os1t8 Год назад
You are Great! Thank you.
@glibmar
@glibmar Год назад
Nice!!! Thank you
@thomasgoodwin2648
@thomasgoodwin2648 Год назад
oooh shiny new (actually they look a tiny bit ancient but new to me) tools for the kit. Thanks again... and again... and...
@akahige9764
@akahige9764 Год назад
Nice videos, so good to learn something new every time about python. Wondering if you could make something like: simple rules to write faster python programms. Great job, keep going !!!
@ObeloMusic
@ObeloMusic Год назад
2nd this
@1mrnewton
@1mrnewton Год назад
Terrific!
@alexnefayne4266
@alexnefayne4266 Год назад
Thanks again for another awesome tutorial!! did u need to install a plugin to make pycharm automatically import time ?
@MrRezhes
@MrRezhes Год назад
Thanks for your videos, I have followed the exact code, but the tuna does not recognize some lines and the browser part does not show any of the stats, do u have any idea where the issue is??
@grantfact9740
@grantfact9740 9 месяцев назад
Life saver
@rons96
@rons96 Год назад
Nice optimized solution with only python, but if you have nice space on disk and Windows installed, cythonize it, or maybe just use yield then converse it to a list
@m7amssa
@m7amssa Год назад
Please i need help: How to create a scrolling bar using customtkinter 'python'
@user-eg5xb8ot4g
@user-eg5xb8ot4g 11 месяцев назад
Can you make video for memory profiling also instead of time
@samratbiswas
@samratbiswas Год назад
Hiii, Can you make a video on, "How to generet some project files Automaticly - by using command line". Like Django do...
@tejas4054
@tejas4054 Год назад
I want to know how to do it in django please tell
@pra1had
@pra1had 11 месяцев назад
Pretty concise, please try and share the python code it that's possible
@lixiang7349
@lixiang7349 Год назад
Dude, why do you keep on counting number of zeros. you do know you can use 1e7 right
@danielabouelezz6448
@danielabouelezz6448 Год назад
Great video as usual... can you please do a video on back propagation programming
@gdonisi
@gdonisi Год назад
What about a PyPy video?
@BPJennieYeager
@BPJennieYeager 10 месяцев назад
why does your print function take so little time? my print function takes 97 seconds.
@rons96
@rons96 Год назад
man, it's just didatic thing or you program using pycharm in Windows system everyday? There's no problem with that, but I personally think Windows is annoying for programming because the tons of bloatware, everytime popups to be sure you are not doing some harmful thing to the system, etc... But almost everything is configurable, taste is taste. EDIT: Almost forgot: nice video, I learn many things here, you're good teacher.
@bravitheja1142
@bravitheja1142 3 месяца назад
7:11
@chikkii1601
@chikkii1601 Год назад
First comment 🥳🥳🥳🥳🥳🥳🥳
@nawrashussein2004
@nawrashussein2004 6 месяцев назад
(tuna result.prof) doesn't open a GUI or browser page. I always get "'tuna' is not recognized as an internal or external command, operable program or batch file." what I suppose to do ? I already installed (pip install tuna) and when I am trying to reinstall it I get (Requirement already satisfied: tuna in c:\users\alnaseem\appdata oaming\python\python312\site-packages (0.5.11)) help please
Далее
Diagnose slow Python code. (Feat. async/await)
9:57
Просмотров 209 тыс.
Рыбачка
00:14
Просмотров 16 тыс.
Speed Up Your Code With Cython
16:37
Просмотров 111 тыс.
Massively Speed Up Requests with HTTPX in Python
7:34
Turn Python BLAZING FAST with these 6 secrets
5:01
Просмотров 37 тыс.
Modern Approaches to Profiling in Python with Scalene
40:28
Premature Optimization
12:39
Просмотров 766 тыс.
Massively Speed-Up Python Code With Numba Compilation
16:28
Магниты и S Pen 🖊️
0:37
Просмотров 71 тыс.
🛑 STOP! SAMSUNG НЕ ПОКУПАТЬ!
1:00
Просмотров 272 тыс.