Bug 152819 - Add Promise benchmark to JetStream
Summary: Add Promise benchmark to JetStream
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2016-01-06 17:05 PST by Jeremy Danyow
Modified: 2016-01-06 17:07 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Danyow 2016-01-06 17:05:19 PST
Modern JavaScript APIs are growing more and more Promise heavy.  It would be awesome if the benchmark suite was enhanced to cover Promise performance.

One option would be to add a dedicated Promise benchmark.  Alternatively the pdfjs bench could be updated to use the javascript engine's built-in Promise when available.

Some links:
* [Corresponding issue for Octane benchmark](https://github.com/chromium/octane/issues/35)
* [Bluebird Promise benchmarks](https://github.com/petkaantonov/bluebird/tree/master/benchmark)
* [jsFiddle demonstrating Promise perf issues in Microsoft Edge](https://jsfiddle.net/jdanyow/vj6o119n/)
* [Microsoft Edge user voice issue](https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/11329845-improve-promise-implementation-performance)

Let me know what you think- I'm willing to work on a PR if you want to provide some direction on this.