benchmark.js icon indicating copy to clipboard operation
benchmark.js copied to clipboard

What is the "x runs sampled" in the output results?

Open aweiu opened this issue 3 years ago • 0 comments

At first, I thought it was the number of executions of suite, but it was not.

I didn't find the detailed concept of sample on the Internet, benchmark The js source code is not understood.

The approximate guess is:

  1. The sample means how many samples have been executed.
  2. Each sample contains N executions of suite.
  3. Each sample has a fixed execution time

I don't know if the above conjecture is correct. Please give me some advice. Thank you!

aweiu avatar Oct 11 '22 03:10 aweiu