0.9 Beta compiler is very slow

Topics: General
Jun 17, 2013 at 7:15 PM
It`s only me or other have noticed very low speed of TS 0.9 Beta compiler? In conjunction with WebEssensials 2012 it takes about 3-5 seconds when compiling one file.
The latest freezes as well when compiling about 50 .ts files.
Jun 18, 2013 at 8:51 PM
The 0.9 compiler is rewritten to have a much more flexible architecture and better interactive performance. Part of this work unfortunately had some compile speed regressions, which we're working to address those in future releases.
Jun 20, 2013 at 4:26 PM
Edited Jun 20, 2013 at 4:27 PM
Thanks for reply. I've noticed that tcs.exe starts as many another tsc.exe instances as many .ts files are compiled. And each such instance consumes 50-100Mb of memory. Is there any solution to limit TS compiler instances amount at this time, as it really isn't usable to compile a project with 50+ ts files, it freezes for 15 seconds (moreover, overall computer become frozen) on each compilation.

PS. I`m using 0.9 release, not beta now.
Jul 26, 2013 at 11:10 PM
I second this one: very-very slow.
The higher the file is in the hierarchy (i.e. the more other files it references), the slower it compiles.
Some of my higher level files take as long as 30 seconds!

Are there any news on this in the develop branch?
Is there an issue that I can upvote?
Jul 27, 2013 at 7:23 AM
I found the reason of such slowdown - Web Essentials 2012. By default is has the 'Compile all files on build' option enabled which causes it to run a separate TS compiler per each .ts file in the solution. Switching it off fixes this issue. TS by itself runs only one compiler instance for all specified .ts files which is great and fast.
Aug 5, 2013 at 1:57 PM
I agree that the compiler is very slow. We are starting the tsc from the script as described here. It is bareable but not very fast at all. Can someone give us an estimate of when we can expect a better perfoming compiler. We would like to be able to decide to go back to 0.8 or not.