coffeescript-netbeans icon indicating copy to clipboard operation
coffeescript-netbeans copied to clipboard

speed problem - partial compile

Open mark-hahn opened this issue 14 years ago • 5 comments
trafficstars

It is taking 45 seconds to compile a 900 line file on a fast desktop. Can this be sped up?

For my uses a partial compile of selected lines would be great. I only use it to check syntax. I do all my compiling remotely on a server where a compile of the same file takes about 2 seconds.

So consider this a feature request for compiling selected lines.

Edit: I should note that I need the partial compile to also see what the compiled JS is. I'm not just using it for syntax checking. Also I just realized it would be nice to compile the entire file to find line numbers when debugging.

mark-hahn avatar Sep 29 '11 17:09 mark-hahn

It would be better to add an option to use node.js for compiling instead of slow rhino.

dstepanov avatar Sep 29 '11 18:09 dstepanov

That would be awesome. I don't care about the extra install. Is 5.x stable enough to use on windows?

mark-hahn avatar Sep 29 '11 18:09 mark-hahn

I have no idea :) I'm on mac, unstable should be enough for running simple js

dstepanov avatar Sep 29 '11 19:09 dstepanov

I have implemented node.js+coffee command compiling but on windows it just doesn't work, if I try it from a console works fine but from java it throws somekind of exception... maybe stable version will work.

dstepanov avatar Oct 04 '11 19:10 dstepanov

New version has nodejs experimental support for windows

dstepanov avatar Jan 26 '12 18:01 dstepanov