Mandatory external build in IDEA 13 is annoying (because it's slow)

Hi,

I use IDEA for servlet applications that run in Tomcat. After resource change (template, css, js etc., some of them on classpath) I just press Ctrl-F10 and run "Update classes and resources". In IDEA 12 with turned off external build, effect is instantaneous, because "Make" is very fast. It's so fast that I have "On frame deactivation" set to "Update classes and resources" and I don't even think about resource changes - I just update template (css, js..) file, switch to browser, reload page and I see change immediately. But with turned on external build, it's slooow (about 5s).

The problem is that IDEA 13 has mandatory external build and develeping servlet applications is now really annoying - external build adds about 4-5s to "Make" process.

I don't believe that I'm the only one who suffer because of this problem. Are we really supposed to wait over 5 seconds after simple template change? In year 2014?

I apologize for my tone, but I'm soo disappointed with this change. Is there any chance for better tomorrow? :-)

Thanks,
Regards,
Pavel

4 comments
Comment actions Permalink

Please take CPU snapshot while doing "Update classes and resources": https://intellij-support.jetbrains.com/entries/29983118-Reporting-performance-problems

Thank you,
Alexander.

0
Comment actions Permalink

In fact when you invoke 'Update Classes and Resources' IDEA firstly copies changed resources to the output and then starts the external build. So the
whole 'make' indeed can take 5 seconds, but the changed resource files should be updated immediately. Did you try to switch to the browser and refresh
page immediately without waiting for 'compilation finished' notification?

--
Nikolay Chashnikov
Software Developer
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Hi,

I uploaded CPU snapshot on ftp.intellij.net as IU-133.331_macko_22.12.2013_00.49.04.zip. I updated freemarker template and run "Update classes and resources actions", three times. Each "Update classes and resources" action tooked about 5-6 seconds.

Regards,
Pavel

0
Comment actions Permalink

Hi,

thanks, you are right, template change is reflected in browser immediately. So updating a template is quite ok, but updating a class is still annoying, e.g. in debug mode.

Regards,
Pavel

0

Please sign in to leave a comment.