Benchmark
A test that simulates high-load situations to see how the system responds.
Example
Simulate 10,000 users at once and check that 95% of pages load in under 200 ms.
Test yourself: Benchmark
Measure and optimize
Before optimizing a database, you first measure it with a benchmark.
Without measuring you're guessing. If a page takes 2 seconds and 1.8 are one query, optimizing anything else won't help: benchmark and profile first.
Measure and optimize
What simulates high-load situations?
The benchmark simulates 10,000 users at once; the profile records that under that load a query goes from 50 ms to 2 seconds.
0/2
â–¶ Play