Benchmark

noun

say it: “BENCH-mark” /ˈbɛntʃmɑrk/

A timing of code, usually the fastest of several runs, used to compare how fast it is.

What is a benchmark?

A benchmark is timing code to compare how fast it runs: start a stopwatch, run the code, and read how long it took. Because the computer is always busy with other things too, a fair benchmark runs the code several times and keeps the fastest. Timing the same code at a size and at double that size shows its growth rate.

In a sentence

  • “The benchmark showed the search doubling in time when the playlist doubled.”

Level: Apprentice · More Software Development terms at this level

Updated