Performance

Bottleneck

The slowest part of a system, the one holding all the others back. Improving any other part barely changes the total time.

Example

A page takes 2,000 ms and 1,800 are one query: that query is the bottleneck.

Test yourself: Bottleneck

Measure and optimize

The page takes 2,000 ms and the query 1,800. If you make the web server twice as fast (50 to 25 ms), how long does the page take?

Lessons that use it

More performance terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.