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

Python Descriptors
Python Descriptors
This short book on Python descriptors is a collection of knowledge and ideas from many sources on dealing with and creating descriptors. And, after going through the things all descriptors have in common, the author explores ideas that have multiple ways of being implemented as well as completely new ideas never seen elsewhere before....
CCDA Exam Certification Guide ((CP) CERTIFICATION)
CCDA Exam Certification Guide ((CP) CERTIFICATION)
The official study guide for DCN exam #640-441Coverage of the CCDA exam design objectives enables you to discover your knowledge gaps before the exam date. You'll learn to:Characterize a customer's existing network and identify customer needsSimplify the complexities associated with analyzing customer network problems and creating Cisco scalable...
Resumes for Communications Careers
Resumes for Communications Careers

Communications is a wide-ranging field covering everything from public relations to broadcast journalism to technical writing. Despite the diversity of options, competition for these highly coveted positions is fierce. Give yourself an edge by consulting Resumes for Communications Careers, packed with expert advice on crafting a...


Elementary Concepts of Topology
Elementary Concepts of Topology

Concise work presents topological concepts in clear, elementary fashion without sacrificing their profundity or exactness. Author proceeds from basics of set-theoretic topology, through topological theorems and questions based on concept of the algebraic complex, to the concept of Betti groups.

FEW BRANCHES of geometry have...

Software Requirements (3rd Edition) (Developer Best Practices)
Software Requirements (3rd Edition) (Developer Best Practices)

Now in its third edition, this classic guide to software requirements engineering has been fully updated with new topics, examples, and guidance. Two leaders in the requirements community have teamed up to deliver a contemporary set of practices covering the full range of requirements development and management activities on software...

Molecular Biophysics for the Life Sciences
Molecular Biophysics for the Life Sciences

This volume provides an overview of the development and scope of molecular biophysics and in-depth discussions of the major experimental methods that enable biological macromolecules to be studied at atomic resolution.   It also reviews the physical chemical concepts that are needed to interpret the experimental results and to...

©2018 LearnIT (support@pdfchm.net) - Privacy Policy