Re:TypeScript: New Compiler and Moving to GitHub
by cogware on Monday July 21, 2014 @03:51PM
(#8065629)
On a 7kloc codebase it was around 3 seconds before the new compiler, seems to be about 1 second after.
[ Parent
| on HN ]
Re:TypeScript: New Compiler and Moving to GitHub
by Arnavion on Monday July 21, 2014 @05:37PM
(#8066155)
I haven't tried the new compiler yet, but note that a lot of the compiler's slowdown comes from parsing lib.d.ts each time it's invoked. So the time taken for compiling X lines of code doesn't scale in a linear fashion - a helloworld will probably take a long time for you to compile too, but remove the dependency on lib.d.ts and the same helloworld will compile very much faster.