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
Which one is the fast
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script>
var $pathJquery = 'http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js';
var $objSelector = $('body link[type="text/javascript"]');
var $replaceElement = '<link type="text/javascript" rel="stylesheet" href="' + $pathJquery + '" />\n';
</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
:last |
| ready |
.last( ) #1 |
| ready |
.last( ) #2 |
| ready |
.filter(:last) |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.