jsbench / jsbench/jsbench.github.io
Configurable run count/duration for snippets
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 263
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing Setup panel and the code that controls how each snippet test case is run. Determine how run count and duration should interact, then expose the chosen setting in the Setup panel or a new Settings panel. Done means users can configure either value and benchmark runs consistently honor it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100