applets.

Computer Speed

← All apps

About Computer Speed

It times the phone or computer you're using with four little jobs, then sets the answer beside famous machines from 1945 to today. Give your device a name on the label strip and press START: the run takes about five seconds (a little longer on a slow phone) and nothing starts until you press it. The results stay in this browser, under YOUR RUNS, so you can try your phone and your computer and compare them. Click a run there to put it back on the chart. Device names and results stay in this browser: they are never sent anywhere. The COLOUR and GREEN keys swap the monitor between the two kinds people plugged into home computers in the 1980s.

THE FOUR JOBS

THEN AND NOW

The figures are rough and not like for like: an ENIAC addition was a ten-digit decimal sum, an 8-bit chip's instruction is often only part of a sum, and a supercomputer's operation is on 64-bit decimals. They're good to a power of ten or so, which is what a log chart shows. Each step along it is a thousand times more. Your device uses one of its cores here, while Frontier uses all of its millions at once.

WHY YOUR NUMBER CHANGES

Run it twice and you'll get two answers. The browser compiles the loops while they run (a "just-in-time" compiler), so the first moments are slow; the run warms up first and counts the best stretch of each job. Phones and laptops on battery slow down to save power or when they get warm. A hidden tab may be held back by the browser, so stay on the page until it finishes. Other programs share the processor. Browsers also blur their clocks on purpose: since the Spectre attacks of 2018 a web page's timer is rounded (to about a tenth of a millisecond, more in some browsers) so it can't be used to spy on the processor's memory caches. That's why every job here is timed in pieces of at least 40 milliseconds.

HOW IT WORKS

The jobs run in a Web Worker, a separate thread, so the page keeps responding and drawing doesn't disturb the timing. Each answer is added up and kept, otherwise a clever compiler could notice the result is never used and skip the work (Python wouldn't, which is why the original script can throw its sums away). "What took your device one second" is just your integer adds a second divided by the machine's figure.

FURTHER WATCHING AND READING


          
SPEED TEST · SIDE A
COUNTER STOPPED
Operations a second (each step: 1,000×)Press START to add your device

Rough figures of mixed kinds (additions, instructions, floating point): good to a power of ten. Sources in the (i).