Search code examples
javascriptalgorithmbenchmarkingfibonacci

How to read jsben.ch benchmark result?


I've compared three fibonacci algorithms with jsben.ch and as expected first one is the fastest (it even got a little award icon):

fibonacci algorithms benchmark results

Yet, I can't find what the numbers next to code block result mean? The higher, the better but what's the unit?


Solution

  • The only reasonable unit I can think (and this is my assumption) it that the result shows ops/sec meaning how many times each test can execute in a sec.

    However, it would be better if the jsben.ch had this stated clearly to avoid confusion or at least explained the meaning in help section (which is also sadly missing).