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://code.jquery.com/jquery-2.1.0.min.js"></script>
<script src="http://underscorejs.org/underscore-min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.min.js"></script>
var v;
testArray = [];
for (var i = 0; i < 1000; i++) {
testArray[i] = {
ix: i
};
};
var plainFor = function(array, func) {
for (var i = 0; i < array.length; i++) {
func(array[i]);
}
}
Ready to run.
Test | Ops/sec | |
---|---|---|
underscore |
| ready |
jquery |
| ready |
angular |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.