Promise Performance Meeting #31
Description
I would like to set up a hangout with the V8 team regarding promise performance. I've already talked to @bmeurer the person in charge on V8's side regarding a meeting and he has been gracious enough to agree to set up one.
by all means, if discussion here gets noisy feel free to unsubscribe - we will discuss this in the hangout
Outstanding issues I'd like to discuss
- Any hooks we need in the microtask queue (for example for the VM issue) and how they might impact performance.
- The overhead of creation and how we can make
util.promisify
faster to a point where native promises win against Bluebird 3.5 in the doxbee benchmark. - Common use cases we have gathered from the thousand+ questions in the promise tag in StackOverflow and their performance profile.
- Performance cliffs and gotchas that relate to promise code "in the wild" and how we can deliver a better experience to users.
Outstanding issues that are interesting, but not necessarily for the meeting
- The promises/post-mortem issue that's been blocking integration and whether or not we might be able to get help from the V8 side.
- ETAs and stability notes on new promise features (async iterators, promise#finally etc) so we can include those in the relevant APIs (we're mostly prepared though).
- Async iterator performance profiles (basically, async iterators are a little useless in performance based scenarios if the iteration is not inlined and optimized somehow because of the overhead of a promise + iterator object per call).
Participation
In addition to nodejs/promises members - pinging @petkaantonov @nodejs/performance, @addaleax, @caitp and @misterdjules.
I'd like to brainstorm here for a few days and then set up the hangout. I'd like to limit participation to a few people - I'd love to attend to share the cliffs and bluebird experience, I'd love @addaleax and @mcollina to attend from Node's side and @bmeurer obviously :) If anyone would like to attend because they don't feel their view point will be represented please comment here with why you would like to attend.
Optimally most discussion before the meeting should happen here.