2 ms·
I haven't done any performance-critical JavaScript for two years now and I know a lot a things have change with Turbofan, but I had been hitting slow paths of V
by littlestymaar 8y ago
I haven't done any performance-critical JavaScript for two years now and I know a lot a things have change with Turbofan, but I had been hitting slow paths of V8 so many times … The easiest to avoid were also the most painful when it comes to code organization : exception handling was so slow it was unusable. And it was affecting our ability to use modern JS, because the polyfil for `for of` or `async/await` had to use exception to comply with the spec. As a result we were stuck using ES5.1 for a really long time (because we needed to support mobile browsers, which are (or were at this point, at least) a new kind of IE6.