- From: Ben Kelly <notifications@github.com>
- Date: Fri, 10 Apr 2015 08:57:14 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Friday, 10 April 2015 15:57:41 UTC
We have work to optimize our native promises. The main cost you are probably seeing here, though, is increased load due to cycle collecting so many c++ backed js objects. The native promise will improve for sure, but I don't see it improving by 300%. I think the microtask async schedule is the main source of delay here and I don't see how that can be optimized away. So I see this as an "async required" problem and not Promise specific. If we could implement this with just callbacks without hitting set time out clamping I think we would see similar results. Happy to be proven wrong, though! --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/320#issuecomment-91600288
Received on Friday, 10 April 2015 15:57:41 UTC