Add shared setup code, define JavaScript or TypeScript test cases, run browser ops/sec comparisons, and save a shareable jsPerf benchmark URL.
Provide basic information about your performance test so others can understand what you are comparing.
Code that runs before/after the tests. Useful for setting up the DOM or declaring shared variables.
Write the JavaScript code you want to benchmark. Each snippet runs as a function body.