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
benching my minimalist alternative to the official lib
<script src="http://cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.rc.1.js"></script>
<script src="https://raw.github.com/mikesmullin/coffee-templates/production/js/coffee-templates.js"></script>
var template = '<ul class="people_list">\n{{#each people}}\n<li>{{this}}</li>\n{{/each}}\n</ul>';
var data = {
people: ["Yehuda Katz", "Alan Johnson", "Charles Jolley"]
};
window.each = function(o, cb) {
var k;
for (k in o) {
cb.apply(o[k], [k, o[k]]);
}
};
Ready to run.
Test | Ops/sec | |
---|---|---|
Handlebars |
| ready |
Coffee-Templates |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.