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

Peptide Synthesis and Applications (Methods in Molecular Biology)
Peptide Synthesis and Applications (Methods in Molecular Biology)

Peptides are used ubiquitously for studies in biology, biochemistry, chemical biology, peptide based medicinal chemistry, and many other areas of research. There is a number of marketed peptide drugs, and the prospects for the development of new peptide drugs are very encouraging.  The second edition of  Peptide Synthesis and...

Encyclopedia of Ancient Natural Scientists: The Greek Tradition and its Many Heirs
Encyclopedia of Ancient Natural Scientists: The Greek Tradition and its Many Heirs

The Encyclopedia of Ancient Natural Scientists is the first comprehensive English language work to provide a survey of all ancient natural science, from its beginnings through the end of Late Antiquity. A team of over 100 of the world’s experts in the field have compiled this Encyclopedia, including entries which are...

Visualizing Information Using SVG and X3D
Visualizing Information Using SVG and X3D
This is the first book devoted to both SVG and X3D as a new and universal means of visualizing information. It presents the state-of-the-art research emerging in this novel area and introduces SVG and X3D fundamentals and leading authoring tools. The key topics covered include: - The foundations of SVG and X3D - Data, information, knowledge and...

The Making of a Neuromorphic Visual System
The Making of a Neuromorphic Visual System
This book presents an approach to the construction of a visual system, which is behaviorally, computationally and neurally motivated. The goal is to characterize the process of visual categorization and to find a suitable representation format that can successfully deal with the structural variability existent within visual categories. The book...
Formal Geometry and Bordism Operations (Cambridge Studies in Advanced Mathematics)
Formal Geometry and Bordism Operations (Cambridge Studies in Advanced Mathematics)
This text organizes a range of results in chromatic homotopy theory, running a single thread through theorems in bordism and a detailed understanding of the moduli of formal groups. It emphasizes the naturally occurring algebro-geometric models that presage the topological results, taking the reader through a pedagogical development of the...
Fast Transforms Algorithms, Analyses, Applications
Fast Transforms Algorithms, Analyses, Applications
This book has grown from notes used by the authors to instruct fast transform classes. One class was sponsored by the Training Department of Rockwell International, and another was sponsored by the Department of Electrical Engineering of The University of Texas at Arlington. Some of the material was also used in a short course sponsored by the...
©2020 LearnIT (support@pdfchm.net) - Privacy Policy