Python Performance Optimization
Profiling, Algorithms, Data Structures, Caching, Concurrency and Making Slow Code Fast Without Rewriting It

EPUB · German
Price and availability
EPUB eBookUS store
$27.99
Sign in to buyYou’ll review your order and final price before payment.
Download from your library after delivery. Protected eBooks need a compatible reading app.
For personal use under the eBook licence.
Territorial availability
Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa
Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.
- Format
- EPUB
- DRM
- Not stated by the publisher
- Language
- German
- Publisher
- neobooks
- Published
- 22 October 2026
- ISBN
- 9783565978304
- Subjects
- Computing & information technology, Computing and Information Technology
About this book
Your code is correct, and it is still too slow. This book gives you a repeatable way to fix that without rewriting the program. You learn to measure honestly with timeit, find the real bottleneck with cProfile, and track memory with tracemalloc. Then you apply the changes that pay the most: better algorithms and data structures, safe caching, threads and asyncio for waiting, processes for heavy computing, and NumPy for bulk arithmetic. Every example was run on Python 3.14, and a full worked case takes a slow nightly report from 1.9 seconds to 0.06 seconds, with the tests that stop the slowdown coming back. Written for working developers who want evidence, not folklore.
Bibliographic data © Gardners Books Ltd.