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
A comparison of Promises/A+ implementations in active development.
<script src="http://rawgithub.com/dfilatov/vow/master/vow.min.js"></script>
<script src="http://rsvpjs-builds.s3.amazonaws.com/rsvp-latest.js"></script>
<script src="http://rawgithub.com/petkaantonov/bluebird/master/js/browser/bluebird.js"></script><script src="https://rawgithub.com/kriskowal/q/v0.9/q.js"></script><script src="https://rawgithub.com/juandopazo/ypromise/es6/promise.js?1"></script>
<script src="https://rawgithub.com/juandopazo/b08401358349c993d924/raw/90676e1116efe259eff4ae424a4914b445dcf6e1/gistfile1.js"></script>
<script>
var _Promise, WhenPromise;
if(typeof Promise !== 'undefined') {
_Promise = Promise;
}
</script>
<script src="https://raw.githubusercontent.com/cujojs/when/3.0.1/es6-shim/Promise.js"></script>
<script>
WhenPromise = Promise;
Promise = _Promise;
</script>Ready to run.
| Test | Ops/sec | |
|---|---|---|
| Bluebird deferred | | ready |
| RSVP deferred | | ready |
| Bluebird classic | | ready |
| RSVP classic | | ready |
| Q deferred | | ready |
| Q classic | | ready |
| ypromise | | ready |
| when es6 shim | | ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.