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://mike.sherov.com/jquery/18pre.jquery.min.js"></script>
<script> pre = jQuery.noConflict(); </script>
<script src="http://mike.sherov.com/jquery/11004/jquery.min.js"> </script>
<script> patched = jQuery.noConflict(); </script>
<div id="bb" style="width:10px;padding:5px;border:1px solid black;margin:1px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-box-sizing:border-box;"></div>
<div id="cb" style="width:10px;padding:5px;border:1px solid black;margin:1px;"></div>
<script>
var div = {
pre_cb: pre( "div#cb" ),
pre_bb: pre( "div#bb" ),
patched_cb: patched( "div#cb" ),
patched_bb: patched( "div#bb" ),
};
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
pre cb .css(width) |
| ready |
patched cb .css(width) |
| ready |
pre cb .width() |
| ready |
patched cb .width() |
| ready |
pre bb .css(width) |
| ready |
patched bb .css(width) |
| ready |
pre bb .width() |
| ready |
patched bb .width() |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.