octane
octane copied to clipboard
Promise benchmark
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 JetStream benchmark
- Bluebird Promise benchmarks
- jsFiddle demonstrating Promise perf issues in Microsoft Edge
- Microsoft Edge user voice issue
Let me know what you think- I'm willing to work on a PR if you want to provide some direction on this.
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.