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
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<input type="text" name="a" data-validate="email" />
<input type="text" name="b" data-validate="url" />
<input type="text" name="c" data-validate="phone" />
<input type="text" name="d" data-validate="sex" />
<input type="text" name="e" data-validate="cpf" />
var a = document.getElementsByName('a');
var b = document.getElementsByName('b');
var c = document.getElementsByName('c');
var d = document.getElementsByName('d');
var e = document.getElementsByName('e');
var $a = $('input[name=a]');
var $b = $('input[name=b]');
var $c = $('input[name=c]');
var $d = $('input[name=d]');
var $e = $('input[name=e]');
Ready to run.
Test | Ops/sec | |
---|---|---|
Jquery |
| ready |
JS |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.