jsbench / jsbench.github.io

JavaScript benchmark playground
http://jsbench.github.io/
MIT License
266 stars 13 forks source link

Configurable run count/duration for snippets #37

Open Venryx opened 5 years ago

Venryx commented 5 years ago

It would be nice to be able to configure how many runs/how long of a duration to run each test case for.

Sometimes I want quick estimations of run-time for many different code snippets and the default test durations are too long; other times I want even more precise results than those given.

Perhaps it can be added as an option to the "Setup" panel -- or perhaps add a new "Settings" panel next to it, for this setting.