jsPerf — JavaScript performance playground

What is jsPerf?

jsPerf aims to provide an easy way to create and share test cases, comparing the performance of different JavaScript snippets by running benchmarks. For more information, see the FAQ.

Create a test case

Your details

Test case details

Test case URL will be http://jsperf.com/slug

Preparation code

Include JavaScript libraries as follows: <script src="https://cdn.ext/library.js"></script>

Code snippets to compare

Code snippet 1

Code snippet 2