Bluebird vs RSVP (v79)

Revision 79 of this benchmark created on


Description

A comparison of the two most highly performant promise implementations.

Preparation HTML

<script src="http://rsvpjs-builds.s3.amazonaws.com/rsvp-latest.js"></script>
<script src="https://cdn.jsdelivr.net/bluebird/latest/bluebird.min.js">
</script>
<script>

var BPromise = Promise.noConflict();
var RPromise = RSVP.Promise;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Bluebird
// async test
function make() {
  return new BPromise(function (resolve, reject) {
      resolve(1)
  })
}

make().then(function () { deferred.resolve() })
ready
RSVP
// async test
function make() {
  return new RPromise(function (resolve, reject) {
      resolve(1)
  })
}

make().then(function () { deferred.resolve() })
ready
Native
// async test
function make(cb) {
  cb();
}

make(function () { });
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.