Skip to Content
How to Make Things Faster
book

How to Make Things Faster

by Cary Millsap
June 2023
Intermediate to advanced
356 pages
5h 32m
English
O'Reilly Media, Inc.
Content preview from How to Make Things Faster

Chapter 89. Describing Performance Improvements

Once I saw an ad claiming that a product could improve response times by 1,000%. Sounds great. But what does that mean?

Here are two ways to express response time improvements:

What proportion of the time did you save?
p = (oldnew)/old. It’s the improvement expressed as a proportion of the old value. You can multiply p by 100% if you want, to express it as a percentage.1
How many times faster is it now?
That’s n = old/new. Don’t express this number as a percentage. It’s not helpful to the recipient of the information.

Here are some examples:

Before After p% faster” n times faster”
(old) (new) (p = (oldnew)/old × 100%) (n = old/new)
60 sec 60 sec 0.0% 1
60 sec 59 sec 1.7% 1.017
60 sec 20 sec 66.7% 3
60 sec 1 sec 98.3% 60
60 sec 0 sec 100.0% +∞

For throughput, just use the reciprocal of the n formula. For example, if you improve throughput from 1 thing/sec to 10 things/sec, then you’ve increased throughput by new/old = 10 times. As with n values, don’t express this value as a percentage.

Note that a p value can never be bigger than 1 (or 100%) without invoking reverse time travel.2 So, when someone tells you that their thing “improves response time by 1,000%,” then you know they’re not telling you a p value. It’s probably an n value, meaning that their thing really makes your response time [merely] 10 times better than it was.

To say what sounds better, even though it’s misleading...is not your best pathway ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Improve Your Problem-Solving Skills

Improve Your Problem-Solving Skills

Charles Humble

Publisher Resources

ISBN: 9781098147051Errata Page