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
This is an edited test from http://jsperf.com/jqm3/131.
Cleaned up setup and teardown methods and added BSI into the mix. Also standardized the text of the inserted li elements.
<div id="container"></div>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js"></script>
<script src="//zeptojs.com/zepto.min.js"></script>
<script src="//cdn.jqmobi.com/jq.mobi.min.js"></script>
<script src="//code.jquery.com/jquery-2.0.2.js"></script>
<script src="//lordsnow.net/kvf/ten/ten.min.js"></script>
<script src="//bytes1.dyndns.org/BSI/website-app.js"></script>
<script src="//cdn.app-framework-software.intel.com/2.0/appframework.min.js"></script>
//Lets add the append method to all html dom nodes:
HTMLElement.prototype.append = function(el) {
this.appendChild(el);
}
var container = document.getElementById('container');
var ul, li, i = 0;
container.innerHTML = "";
Ready to run.
Test | Ops/sec | |
---|---|---|
jQ.Mobi |
| ready |
jQuery |
| ready |
ten.js |
| ready |
Zepto |
| ready |
Angular jqLite |
| ready |
BSI |
| ready |
App Framework |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.