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
Checking the speed of Moment.js with different options.
<script src="http://momentjs.com/downloads/moment.min.js"></script>
var preExisting = new Date('2011-09-23T20:40:55.999+0000');
var preExistingMoment = moment(preExisting);
Ready to run.
Test | Ops/sec | |
---|---|---|
Date |
| ready |
Moment.js via string |
| ready |
Moment.js via Date |
| ready |
Moment.js cloned |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.