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="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<div id="remove">
</div>
<script>
$elem = $("#remove");
function showElement(element) {
element[0].style.display = "block";
}
function hideElement(element) {
element[0].style.display = "none";
}
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
show/hide |
| ready |
jquery css |
| ready |
css 1 |
| ready |
function |
| ready |
css 2 |
| ready |
jquery css {} |
| ready |
jquery addClass removeClass |
| ready |
add and remove class without jquery |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.