The Speed of Code

Your computer does 3 billion operations every second.

Let's zoom INTO one second and see what's really happening.

Use scroll wheel or arrow keys to zoom through time

0 1 second
1
second
The blink of an eye
In this time, a computer can do:
0 operations
That's enough to:
Second Milli Micro Nano
1s

One Second

A second feels instant to us. But to a computer, it's an eternity.

Scroll to zoom into this second...

Milliseconds

1 second = 1,000 milliseconds

A human blink takes about 150ms. Your computer can run millions of instructions in that time!

💫

Microseconds

1 second = 1,000,000 microseconds

Sound travels just 0.3mm in a microsecond. Your CPU executes thousands of instructions in this time!

Nanoseconds

1 second = 1,000,000,000 nanoseconds

Light itself only travels 30cm in a nanosecond. This is where a single CPU cycle happens!

⏱ At this timescale...

👁 You blink 15-20 times
💓 Your heart beats once
🏃 A bullet travels 1 meter
💻 WiFi sends 1,000 bits
💡 Light travels 300 meters
🎬 1 frame of a 1M FPS camera
Light travels 30 centimeters
💻 1 CPU clock cycle (3GHz)
💡
Your computer's processor runs at billions of cycles per second!
📅 Computing History
1945 ENIAC 5K ops/s
1971 Intel 4004 92K ops/s
1985 Intel 386 5M ops/s
1999 Pentium III 500M ops/s
Today Modern CPU 3B+ ops/s

Mind = Blown

Computers are unbelievably fast

3+ GHz
typical CPU speed
3 billion
cycles per second
~0.3 ns
per CPU cycle

🚀 Putting it in perspective

1 second vs 3,000,000,000 cycles

In the time you say "one", a computer completes 3 billion operations

Human reaction ~200ms 600,000,000 cycles

Before you can even react, a computer has done 600 million things

📅 How far we've come

1945
ENIAC
5,000 ops/sec
Room-sized, 30 tons, needed 7 days to match 1 second of your phone
1971
Intel 4004
92,000 ops/sec
First microprocessor - all of ENIAC's power on a tiny chip
1985
Intel 386
5 million ops/sec
Powered early Windows PCs and changed personal computing
Today
Modern CPU
3+ billion ops/sec
600,000x faster than ENIAC - in your pocket!

💻 What can code do in 1 second?

🎨
Render 60 game frames
🔍
Search billions of records
🤖
Run AI image recognition
🌏
Send data around the world

Ready to harness this power?

Learn to write code and command billions of operations!

Discoveries