chromium / octane

The JavaScript Benchmark Suite for the modern web
https://developers.google.com/octane/
BSD 3-Clause "New" or "Revised" License
184 stars 73 forks source link

Promise benchmark #35

Open jdanyow opened 8 years ago

jdanyow commented 8 years ago

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:

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

s3ththompson commented 8 years ago

The V8 team is in the midst of figuring out how best to measure ES6 performance so that we can optimize heavily-used features like promises as soon as possible. We're not sure if something like belongs in Octane yet, so I'll leave your issue open for now.