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>
var b0 = document.createElement('BUTTON');
document.body.appendChild(b0);
var t1 = document.createElement('TEXTAREA');
t1.innerHTML = "This is a messgge T1";
document.body.appendChild(t1);
var t2 = document.createElement('TEXTAREA');
var txt2 = "This is a messgge T2";
t2.innerHTML = txt2;
document.body.appendChild(t2);
var t3 = document.createElement('DIV');
t3.contentEditable = true;
var txt3 = "This is a messgge T3";
t3.innerHTML = txt3;
document.body.appendChild(t3);
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
select() |
| ready |
selectionStart |
| ready |
createRange |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.