On Fri, Mar 17, 2017 at 07:30:46PM -0400, Ehsan Akhgari wrote:
Have we measured the performance of our async/await implementation?  I
think we should definitely do some extensive testing of the performance
of any new ES primitives before deciding to switch to using them in the
front-end code en masse.  Of course, if the performance result aren't
good, that doesn't mean we shouldn't use them in the front-end code, it
means we need to make the performance better.  :-)  But we need to be
able to make the trade-off cautiously.

Yes. There was performance testing for the self-hosted version (which was basically the same as the Promise.jsm implementation) before it was converted to C++, and after:

https://bugzil.la/1314055

In short, it's better, but not hugely.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to