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 the two most highly performant promise implementations and the new native promises.
<script src="http://rsvpjs-builds.s3.amazonaws.com/rsvp-latest.js"></script>
<script src="//cdn.jsdelivr.net/bluebird/3.1.1/bluebird.js"></script>
<script>var BPromise = Promise.noConflict();
if ((Promise + "").indexOf("native") < 0) alert("not native promises");
</script>
<script src="https://www.dropbox.com/s/vsan9q5dmlk3odc/when-3.3.1.js?dl=1"></script>
Ready to run.
Test | Ops/sec | |
---|---|---|
Bluebird deferred |
| ready |
RSVP deferred |
| ready |
When deferred |
| ready |
Bluebird classic |
| ready |
RSVP classic |
| ready |
When classic |
| ready |
Native Promises |
| ready |
You can edit these tests or add more tests to this page by appending /edit to the URL.