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="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://digg.googlecode.com/files/Class-0.0.2.js"></script>
<script src="https://raw.github.com/lodash/lodash-compat/3.10.1/lodash.min.js"></script>
var result = '';
function extend(target, source) {
for (var i in source) {
target[i] = source[i]
}
}
Ready to run.
Test | Ops/sec | |
---|---|---|
Pure JS + extend prototype with object |
| ready |
Pure JS + extend prototype with "for" |
| ready |
Pure JS |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.