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
Possibly broken at the moment.
Some redundant code.
In simpler tests, ten wasn't dominating everything quite as much. Not sure what's slowing the other libraries down, but here you go.
There is just one minor differences in the ten test code compared to the others. Within the each function, the returned element does not to be wrapped with $(element), it is already returned as a ten object.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="http://cdn.jqmobi.com/1.11/jq.mobi.min.js">
</script>
<script src="http://zeptojs.com/zepto.min.js">
</script>
<script src="http://lordsnow.net/kvf/ten/ten.min.js">
</script>
<div id="jswrapper">
</div>
var i = 0,
passes = 1,
ul, li;
document.getElementById("jswrapper").innerHTML = "";
Ready to run.
Test | Ops/sec | |
---|---|---|
ten.js |
| ready |
jQuery |
| ready |
jqMobi |
| ready |
Zepto |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.