Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Mastering Python High Performance

Buy

Measure, optimize, and improve the performance of your Python code with this easy-to-follow guide

About This Book

  • Master the do's and don'ts of Python performance programming
  • Learn how to use exiting new tools that will help you improve your scripts
  • A step-by-step, conceptual guide to teach you how to optimize and fine-tune your critical pieces of code

Who This Book Is For

If you're a Python developer looking to improve the speed of your scripts or simply wanting to take your skills to the next level, then this book is perfect for you.

What You Will Learn

  • Master code optimization step-by-step and learn how to use different tools
  • Understand what a profiler is and how to read its output
  • Interpret visual output from profiling tools and improve the performance of your script
  • Use Cython to create fast applications using Python and C
  • Take advantage of PyPy to improve performance of Python code
  • Optimize number-crunching code with NumPy, Numba, Parakeet, and Pandas

In Detail

Simply knowing how to code is not enough; on mission-critical pieces of code, every bit of memory and every CPU cycle counts, and knowing how to squish every bit of processing power out of your code is a crucial and sought-after skill. Nowadays, Python is used for many scientific projects, and sometimes the calculations done in those projects require some serious fine-tuning. Profilers are tools designed to help you measure the performance of your code and help you during the optimization process, so knowing how to use them and read their output is very handy.

This book starts from the basics and progressively moves on to more advanced topics. You'll learn everything from profiling all the way up to writing a real-life application and applying a full set of tools designed to improve it in different ways. In the middle, you'll stop to learn about the major profilers used in Python and about some graphic tools to help you make sense of their output. You'll then move from generic optimization techniques onto Python-specific ones, going over the main constructs of the language that will help you improve your speed without much of a change. Finally, the book covers some number-crunching-specific libraries and how to use them properly to get the best speed out of them.

After reading this book, you will know how to take any Python code, profile it, find out where the bottlenecks are, and apply different techniques to remove them.

Style and approach

This easy-to-follow, practical guide will help you enhance your optimization skills by improving real-world code.

(HTML tags aren't allowed.)

Survey of Operating Systems
Survey of Operating Systems

Holcombe, "Survey of Operating Systems, 3e" is 'your foundation for IT Success!' McGraw-Hill is proud to introduce the third edition of Jane and Charles Holcombe's, "Survey of Operating Systems". This edition is a unique revision of the successful previous editions. Every chapter has been updated to include...

Macromedia Flash MX 2004 Game Programming
Macromedia Flash MX 2004 Game Programming
This book takes you on a journey through the evolving art of Flash game programming. Each chapter discusses a key element of game programming, using Flash to create a variety of games.

If you’ve been searching for a tool that would allow you to create game-like applications with Web programming, you’re not alone. Finally,
...
Pocket Guide to Fungal Infection
Pocket Guide to Fungal Infection

The Pocket Guide to Fungal Infection presents, in a convenient and practical format, the major features of fungal infections in humans, providing visual information for each pathogen and the infections they cause.

The second edition has been extensively revised. In each chapter the clinical manifestations and management...


Building Websites With Joomla!: A step by step tutorial to getting your Joomla! CMS website up fast
Building Websites With Joomla!: A step by step tutorial to getting your Joomla! CMS website up fast
This book is being written in a small village in Sachsen-Anhalt in Germany, among other places. I live in this village. There is no access to DSL here; there are no public WLAN hotspots, no UMTS, no large companies and no city noise.

My work consists of activities like lecturing, advising, listening, testing and trying, programming,
...
Building Secure Microsoft ASP.NET Applications: Authentication, Authorization, and Secure Communication
Building Secure Microsoft ASP.NET Applications: Authentication, Authorization, and Secure Communication

Building secure distributed Web applications can be challenging. It usually involves integrating several different technologies and products—yet your complete application will only be as secure as its weakest link. This guide presents a practical, scenario-driven approach to designing and building secure ASP.NET applications for...

What is EPUB 3
What is EPUB 3
Publishing has always been driven by content and the ephemeral “reading experience.” Until recently, the industry has struggled to adapt this experience to the demands of consumers used to getting what they want, when they want, and how they want in the now decade-old digital millennium. A new breed of reading devices has...
©2018 LearnIT (support@pdfchm.net) - Privacy Policy