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
This is a comparison of different promise libraries, performing the most basic tasks of creating a promise, adding a then handler and then resolving the promise.
<script src="https://raw.github.com/kriskowal/q/master/q.js"></script><script src="https://raw.github.com/cujojs/when/master/when.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="https://raw.github.com/tildeio/rsvp.js/master/browser/rsvp.js"></script>
<script src="https://raw.github.com/jkroso/Laissez-faire/master/dist/Laissez-faire.min.js"></script>
<script>module = { exports: {} } // for avow</script>
<script src="https://raw.github.com/briancavalier/avow/master/avow.js"></script>
<script>avow = module.exports</script>
Ready to run.
Test | Ops/sec | |
---|---|---|
q |
| ready |
when |
| ready |
jquery |
| ready |
RSVP |
| ready |
Laissez-faire |
| ready |
avow |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.