4 ms·
Interesting and surprising. Node 8 supports async/await as well as iterator functions. So the target for the typescript transpiler can be set to 'es7'. Would be
by shinypotatoe 9y ago
Interesting and surprising. Node 8 supports async/await as well as iterator functions. So the target for the typescript transpiler can be set to 'es7'. Would be interesting if this has an inpact on the performance.
- rictic 9y agoPoking around with it, it looks like that gives a 20% or so improvement in node v8.4.0, from 1239ms to 1022ms (vs 56ms for the sync version).