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='http://code.jquery.com/jquery-1.10.2.min.js'></script>
<script>
function $(a){return new $.prototype.init(document.querySelectorAll(a))}$.prototype={constructor:$,init:function(a){this.nodeList=a;return this},each:function(d){var a=this.nodeList;for(var b=0,c=a.length;b<c;++b){d.call(a[b])}return this},css:function(a){return this.each(function(){for(var b in a){this.style[b]=a[b]}})}};$.prototype.init.prototype=$.prototype;
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
jq |
| ready |
mu |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.