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="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="//beebole.com/pure/wp-content/themes/BeeBole-pure/libs/pure.js">
</script>
<div class="testarea">
<ul class="test1">
</ul>
<ul class="test2">
</ul>
<ul class="test3">
</ul>
</div>
<div class="template">
<ul class="test1">
<li class="testli">
<span class="id">
</span>
<a class="link" href="" />
</li>
</ul>
</div>
<script>
var listObj = {
id: 1,
name: 'Pelle'
};
var listObjs = [];
var objs = [];
for (var i = 0; i < 100; i++) {
listObjs.push(listObj);
}
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Pure |
| ready |
Array |
| ready |
Map |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.