Tackle Python performance problems and speed up your apps with parallelism, concurrent execution, and OOP
About This Video
- Covers common Python application development problems documented online, leveraging sources such as Stack Overflow, Medium, and GitHub, and solves them entirely in one course.
- Each video is constructed in a problem-solution format, making it easy to understand the problem and grasp the solution.
- Tried and tested solutions to solve common problems, speeding up your Python code and reducing its memory footprint.
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.
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.
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.
Quickly detect which lines of code are causing problems, and fix them quickly without going through 300 pages of unnecessary detail.
All the code and the supporting files of this course are available on GitHub at - https://github.com/PacktPublishing/Troubleshooting-Python-Application-Development
Table of contents
- Chapter 1 : Locating Root Causes by Benchmarking and Profiling Your Application
Chapter 2 : Python Idioms for Faster Code
- Reduce Execution Time and Memory Consumption with __slots__ 00:05:54
- Use Tuples Instead of Lists When Your Data Does Not Change 00:05:20
- Save on Memory Consumption with Generators Instead of Lists 00:06:18
- When to Use Lists Instead of Generators 00:03:09
- Leveraging Itertools to Create Generator Pipelines 00:04:19
Chapter 3 : Tackling Long Running Loops on Big Lists with NumPy
- The Problem with Using Lists to Perform Vector Calculations 00:06:24
- Using NumPy’s Arrays for More Powerful Vector Representations 00:05:19
- Rewriting Our Problem with NumPy to Speed It up 40x 00:04:27
- Fast MapReduce with NumPy Broadcasting 00:07:35
- Optimize All Calculations in One Go with numexpr 00:06:15
- Chapter 4 : Speed Up Your I/O Heavy Tasks with Concurrent Programming
- Chapter 5 : Make Your Apps Run Faster with Parallel Programming
- Chapter 6 : Organize Your Code Better Using Object-Oriented Programming
- Title: Troubleshooting Python Application Development
- Release date: July 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788995337
You might also like
High-Performance Computing with Python 3.x
Build high-performance, distributed, and concurrent applications in Python About This Video Master using NumPy, SciPy, and …
Python Beyond The Basics - Object Oriented Programming
In this Python Beyond the Basics - Object-Oriented Programming training course, expert author David Blaikie will …
Python Survival Skills
6.5+ Hours of Video Instruction Take your Python skills to the next level! Overview helps you …
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …