Back to Browse

I Profiled Python Code with cProfile & You Won't Believe What I Found

2.0K views
Nov 1, 2023
13:59

In this tutorial we will explore how to profile Python code with cProfile module. ⭐️ Timeline 0:00 - Introduction 1:39 - cProfile basic usage 4:25 - Profile Python code in terminal 6:19 - Profile Python code in Python 7:55 - Profile Python functions in Python 9:41 - Export cProfile data 13:29 - Conclusion 📄 Resources - Full article with Python code: https://pyshark.com/profiling-python-code-with-cprofile/ 🔗 My Social Media - YouTube: https://www.youtube.com/channel/UCDw1ADRUpbu-wo7rG_Uc87A - Website: https://pyshark.com - LinkedIn: https://www.linkedin.com/in/mikhail-sidyakov - TikTok: https://www.tiktok.com/@mishamisha_sv - Instagram: https://www.instagram.com/mishamisha_sv - Twitter: https://twitter.com/mishamisha_sv - GitHub: https://github.com/misha-pyshark 🎬 My YouTube Equipment - Microphone (Blue Yeti): https://amzn.to/3IeIsLg - Keyboard (Razer Ornata V2): https://amzn.to/3aeJIBt - Mouse (Logitech G403): https://amzn.to/3ReLUK4 - Headphones (Bose Quiet Comfort 35 II): https://amzn.to/3uqidMq 💸 Donations 💵 One-Time Donations: https://www.paypal.com/donate/?hosted_button_id=7QP8DZT48K9TC 💰 Patreon: https://www.patreon.com/misha_sv -------------------------------------------------------------------------------------------------------------- ⭐️ Tags - Python cProfile - Profile Code

Download

1 formats

Video Formats

360pmp418.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

I Profiled Python Code with cProfile & You Won't Believe What I Found | NatokHD