Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shinypotatoe
· 9y ago · 0 comments
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.
Comments
[–]
rictic
9y ago
Poking 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).