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="//cdnjs.cloudflare.com/ajax/libs/extjs/4.2.1/ext-all.js"></script>
var a= [],
b= [],
gen = function(){ return Math.random().toString(36).substring(7);};
for(var i=0; i<5000; i++){
a.push(gen());
b.push(gen());
}
Ready to run.
Test | Ops/sec | |
---|---|---|
standard loop |
| ready |
Ext.merge |
| ready |
Ext.Array.merge |
| ready |
Ext.each |
| ready |
Ext.apply |
| ready |
concat |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.