9 ms·
On a 7kloc codebase it was around 3 seconds before the new compiler, seems to be about 1 second after.
by cogware 12y ago
On a 7kloc codebase it was around 3 seconds before the new compiler, seems to be about 1 second after.
- Arnavion 12y agoI 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.