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
Testing poser perf
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
var d = global.document;
function poser(type) {
var iframe = d.createElement('iframe');
iframe.style.display = 'none';
d.body.appendChild(iframe);
return map(type, iframe.contentWindow);
}
function map(type, source) { // forward polyfills to the stolen reference!
var original = window[type].prototype;
var value = source[type];
var prop;
for (prop in original) {
value.prototype[prop] = original[prop];
}
return value;
}
Ready to run.
Test | Ops/sec | |
---|---|---|
poser speed |
| ready |
normal extending speed |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.