Python Benchmarking / Najlacnejšie knihy
Python Benchmarking

Code: 51111397

Python Benchmarking

by Jason Brownlee

Without benchmarking, we're working in the dark.Python code can be slow.Benchmarking is a way of discovering exactly how long code takes to execute. Without benchmarking, we have no idea whether changes make code run faster or not ... more

24.41

RRP: 26.21 €

You save 1.80 €


In stock at our supplier
Shipping in 14 - 21 days
Add to wishlist

You might also like

Give this book as a present today
  1. Order book and choose Gift Order.
  2. We will send you book gift voucher at once. You can give it out to anyone.
  3. Book will be send to donee, nothing more to care about.

Book gift voucher sampleRead more

More about Python Benchmarking

You get 59 loyalty points

Book synopsis

Without benchmarking, we're working in the dark.

Python code can be slow.

Benchmarking is a way of discovering exactly how long code takes to execute. Without benchmarking, we have no idea whether changes make code run faster or not.

You need to know:
Benchmarking is required to develop fast Python code.

Python provides 5 built-in functions for reporting the current time. The problem is, that many developers use just one, the time() function, and are unaware of how inappropriate it is for benchmarking. Instead, we should be using the perf_counter() function.

Python also provides the timeit module with API and command line interface specifically designed for benchmarking. It encodes best practices such as repeated execution of target code and use of a high-precision timing function. Nevertheless, few developers use it because it is confusing. The trick is to adopt the "timeit" mindset.

Introducing: "Python Benchmarking". A new book designed to teach you how to bring modern benchmarking practices to your projects, super fast!

You will get fast-paced tutorials showing you how to benchmark your Python code, as well as some much-needed advice on advanced topics, such as:
Each tutorial is carefully designed to teach one critical aspect of how to effectively benchmark Python code.

Table of Contents
Learn Python benchmarking correctly, step-by-step.

Book details

24.41



Collection points Bratislava a 12839 dalších

Copyright ©2008-26 najlacnejsie-knihy.sk All rights reservedPrivacyCookies


Account: Log in
Všetky knihy sveta na jednom mieste. Navyše za skvelé ceny.

Shopping cart ( Empty )

For free shipping
shop for 59,99 € and more

You are here: