2 ms·
> (note: I’m using TypeScript to convert the async iterators and generators into something that node.js can run. See my code here.) This is your problem, TypeS
by xpaulbettsx 9y ago
> (note: I’m using TypeScript to convert the async iterators and generators into something that node.js can run. See my code here.)
This is your problem, TypeScript's Promises polyfill is really really slow. Switch TypeScript to emit ESNext and run it on Node 8 and you'll see a much much different situation.
- Arnavion 9y agoTS does not provide any Promises polyfill.