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
<div id ="result">
</div>
<!-- hogan - mustache template -->
<script id="demo" type="text/template">
<p>{{title}}</p>
<ul>
{{#items}}
<li>
{{title}}
</li>
{{/items}}
</ul>
</script>
<!-- //end template-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<!-- script mustache -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.7.0/mustache.min.js" type="text/javascript"></script>
<!-- //end script -->
<!-- script EJS -->
<script src="http://embeddedjavascript.googlecode.com/files/ejs_production.js"></script>
<script src="http://code.google.com/p/embeddedjavascript/source/browse/trunk/src/ejs.js"></script>
<!-- // end script -->
<!-- script hogan -->
<script src="http://twitter.github.com/hogan.js/builds/1.0.5/hogan-1.0.5.js"></script>
<!-- //end script -->
var data = {
title: "Title - example 1",
link: "/",
description: "JavaScript - Title - example 1",
language: "en",
items: [{
title: "Sub title 1",
link: "/",
description: "Decription - sub title 1 - Decription - sub title 1 - Decription - sub title 1 - Decription - sub title 1- Decription - sub title 1 "
}, {
title: "Sub title 2",
link: "/",
description: "Decription - sub title 2 - Decription - sub title 2 - Decription - sub title 2 - Decription - sub title 2- Decription - sub title 2 "
}, {
title: "Sub title 3",
link: "/",
description: "Decription - sub title 3 - Decription - sub title 3 - Decription - sub title 3 - Decription - sub title 3- Decription - sub title 3 "
}]
};
Ready to run.
Test | Ops/sec | |
---|---|---|
Rendering with Mustache |
| ready |
Rendering with Hogan |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.