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="http://builds.handlebarsjs.com.s3.amazonaws.com/handlebars.runtime-v1.1.2.js"></script>
<script src="http://builds.emberjs.com/tags/v1.2.0/ember.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.2.1/lodash.min.js"></script>
var i = -1,
array = new Array(1000);
while(++i !== 1000) {
array[i] = Ember.Object.create({
id: i
});
};
Ready to run.
Test | Ops/sec | |
---|---|---|
Lodash forEach |
| ready |
Ember forEach |
| ready |
Lodash map |
| ready |
Ember map |
| ready |
Lodash filter |
| ready |
Ember filter |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.