jsPerf.app is an online JavaScript performance benchmark test runner & jsperf.com mirror. It is a complete rewrite in homage to the once excellent jsperf.com now with hopefully a more modern & maintainable codebase.
jsperf.com URLs are mirrored at the same path, e.g:
https://jsperf.com/negative-modulo/2
Can be accessed at:
https://jsperf.app/negative-modulo/2
var willemString1 = "Willem and some more text";
var willemString2 = "Willem and some more text";
var willemString3 = "Willem and some other text";
var willemObject1 = new String("Willem and some more text");
var willemObject2 = new String("Willem and some other text");
var willemString4 = "Proin metus tortor, aliquam ut egestas sit amet, volutpat quis diam. Duis tincidunt vestibulum dui id sagittis. Mauris et facilisis enim, ut tincidunt velit. Duis in augue in magna commodo tincidunt. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam scelerisque mattis varius. Donec pharetra a leo id aliquam. Fusce eu nulla vitae lectus iaculis elementum. Donec sodales nisi non neque tempor, sit amet mollis quam ornare. Aliquam dapibus, velit vitae bibendum sodales, lacus nisi rutrum lacus, id fringilla dui nulla ac mauris. Pellentesque fermentum orci libero, eget tempus lectus lobortis ut. Sed finibus tempor dolor at feugiat. Pellentesque ut augue eu justo dictum pretium";
Ready to run.
Test | Ops/sec | |
---|---|---|
Identical - String |
| ready |
Identical - Object |
| ready |
Different - String |
| ready |
Different - Object |
| ready |
Long string vs short string (===) |
| ready |
Long string vs short string (==) |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.