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.8.2.min.js"></script>
<script src="http://cloud.github.com/downloads/wycats/handlebars.js/handlebars-1.0.rc.1.js"></script>
<!-- template source code -->
<script id="template" type="text/plain">
<div class="entry">
<h1>{{title}}</h1>
<div class="body">
{{body}}
</div>
</div>
</script>
<script>
var tpl = $("#template").html()
eval("var tplfn = " + Handlebars.precompile(tpl))
var pretpl = Handlebars.template(tplfn)
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Precompiled |
| ready |
Compiled |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.