Book Image

Troubleshooting Python Application Development [Video]

By : Rudy Lai
Book Image

Troubleshooting Python Application Development [Video]

By: Rudy Lai

Overview of this book

<p>Although you're comfortable with Python, you wonder whether you are writing fast and performant code. Once in a while, you run out of RAM or your application doesn't run fast enough, and this forces you to find a different solution.</p> <p>To further your software development career, you need to understand why and how Python executes your code so that you can create clean code that compiles in time.</p> <p>Troubleshooting Python Application Development is your answer. This course takes you through a structured journey of performance problems that your application is likely to encounter, and presents both the intuition and the solution to these issues. You'll get things done, without a lengthy detour into how Python is implemented or computational theory.</p> <p>Quickly detect which lines of code are causing problems, and fix them quickly without going through 300 pages of unnecessary detail.</p> <p>All the code and the supporting files of this course are available on GitHub at -&nbsp;<a href="https://github.com/PacktPublishing/Troubleshooting-Python-Application-Development" target="_blank">https://github.com/PacktPublishing/Troubleshooting-Python-Application-Development</a></p> <h1>Style and Approach</h1> <p>The course is full of hands-on instructions, interesting and illustrative visualizations, and, clear explanations from a data scientist. It is packed full of useful tips and relevant advice. Throughout the course, we maintain a focus on practicality and getting things done, not fancy mathematical theory.</p>
Table of Contents (6 chapters)
Chapter 1
Locating Root Causes by Benchmarking and Profiling Your Application
Content Locked
Section 4
More Precise Time Tracking with cProfile
In this video we will explore and understand tips and tricks which will allow us to track time more precisely using cProfile. - Understand the difference between cProfile vs profile - Explore and create artificially slowed functions - Understand profiling using cProfile