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.11.2/jquery.min.js"></script>
var template_short = "<div class='tab-tiledViewer placeholder'>" +
"<div class='tab-clip'>" +
"<div class='tab-tvTLSpacer tvMobileRegion'><img></img></div>" +
"<div class='tab-tvTRSpacer tvMobileRegion'><img></img></div>" +
"<div class='tab-tvBLSpacer tvMobileRegion'><img></img></div>" +
"<div class='tab-tvBRSpacer tvMobileRegion'><img></img></div>" +
"<div class='tab-tvYLabel tvMobileRegion'><div class='tvMScrollContainer'>" +
"<div class='tvMScrolledNode'><div class='tvimagesContainer'></div></div></div></div>" +
"<div class='tab-tvLeftAxis tvMobileRegion'><div class='tvMScrollContainer'>" +
"<div class='tvMScrolledNode'><div class='tvimagesContainer'></div></div></div></div>" +
"<div class='tab-tvRightAxis tvMobileRegion'><div class='tvMScrollContainer'>" +
"<div class='tvMScrolledNode'><div class='tvimagesContainer'></div></div></div></div>" +
"<div class='tab-tvXLabel tvMobileRegion'><div class='tvMScrollContainer'>" +
"<div class='tvMScrolledNode'><div class='tvimagesContainer'></div></div></div></div>" +
"<div class='tab-tvBottomAxis tvMobileRegion'><div class='tvMScrollContainer'>" +
"<div class='tvMScrolledNode'><div class='tvimagesContainer'></div></div></div></div>" +
"<div class='tab-tvTopAxis tvMobileRegion'><div class='tvMScrollContainer'>" +
"<div class='tvMScrolledNode'><div class='tvimagesContainer'></div></div></div></div>" +
"<div class='tab-tvView tvMobileRegion'>" +
"<div class='tvMScrollContainer'>" +
"<div class='tvMScrolledNode'>" +
"<div class='tvBackgroundContainer'></div>" +
"<div class='tvimagesContainer'></div>" +
"</div>" +
"<div class='tvViewportBorders'></div>" +
"</div>" +
"</div>" +
"<div class='tab-tvTitle tvMobileRegion'></div>" +
"<div class='tab-tvCaption tvMobileRegion'></div>" +
"</div>" +
"</div>";
var clone_template = $(template_short);
var html = $(document.body);
Ready to run.
Test | Ops/sec | |
---|---|---|
clone |
| ready |
template |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.