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.)

Mastering Blender
Mastering Blender

Blender, the free alternative for professional-quality 3D animation is a complex program to learn, but once users become familiar with its power, they begin to seek more from it.  This book is the first of its kind to explore the more advanced features of Blender so that you can get the most out of the software. You’ll take your...

The Politics of Operations: Excavating Contemporary Capitalism
The Politics of Operations: Excavating Contemporary Capitalism
In The Politics of Operations Sandro Mezzadra and Brett Neilson investigate how capital reshapes its relation with politics through operations that enable the extraction and exploitation of mineral resources, labor, data, and cultures. They show how capital—which they theorize as a direct political actor—operates...
Pro Perl
Pro Perl

Pro Perl is one of the most important and powerful languages available today, and Pro Perl offers an in-depth guide to exploiting some of its best features. This title is suitable for any experienced developer who wants to reap more from this language.

The book never loses sight of practical details. The book pays particularly...


Information Security Applications: 8th International Workshop, WISA 2007, Jeju Island, Korea, August 27-29, 2007
Information Security Applications: 8th International Workshop, WISA 2007, Jeju Island, Korea, August 27-29, 2007
This book constitutes the refereed proceedings of the 8th International Workshop on Information Security Applications, WISA 2007, held in Jeju Island, Korea, August 27-29, 2007.

The 27 revised full papers presented were carefully selected during two rounds of reviewing and improvement from 95 submissions. The papers are organized in topical...

Learning RSLogix 5000 Programming
Learning RSLogix 5000 Programming

Become proficient in building PLC solutions in Integrated Architecture from the ground up using RSLogix 5000

About This Book

  • Introduction to the Logix platform and Rockwell Automation terminology, with resources available online in the literature library
  • Build real-world Rockwell...
Business Component Factory : A Comprehensive Overview of Component-Based Development for the Enterprise
Business Component Factory : A Comprehensive Overview of Component-Based Development for the Enterprise
In this book, Peter Herzum and Oliver Sims present a complete component based strategy, the business component approach, that applies and extends component thinking to all aspects of the software life cycle for enterprise systems. The approach includes a conceptual framework that brings components into the world of scalable systems, and outlines...
©2019 LearnIT (support@pdfchm.net) - Privacy Policy