- This topic has 8 replies, 2 voices, and was last updated 18 years, 6 months ago by Riyad Kalla.
-
AuthorPosts
-
Roel De NijsMemberif i do a clean and build project, the compilation of jsps is extremely slow. since i re-installed (clean eclipse and clean myeclipse) it’s so slow that i can drink several coffees before it finishes. First thought was our company virusscan policy because each file that’s written to the disk is scanned by the virusscanner. but i asked our system admins to disable virusscanner, but it still compiles that slow. is there a way to make it go faster
the error log is empty
startup = C:\eclipse\eclipse.exe -vm C:\jdk1.5.0_06\bin\javaw.exe -vmargs -Duser.language=en -Xms128m -Xmx256m -XX:PermSize=128m -XX:MaxPermSize=128m -Dosgi.splashLocation=”C:\Program Files\MyEclipse\eclipse\MyEclipseSplash.bmp”
configuration details:
*** Date: Fri Jun 23 14:44:40 CEST 2006 *** Platform Details: *** System properties: awt.toolkit=sun.awt.windows.WToolkit eclipse.application=org.eclipse.ui.ide.workbench eclipse.buildId=M20060118-1600 eclipse.commands=-os win32 -ws win32 -arch x86 -launcher C:\eclipse\eclipse.exe -name Eclipse -showsplash 600 -exitdata a4_64 -vm C:\jdk1.5.0_06\bin\javaw.exe <SNIP>
Riyad KallaMemberHow long is JSP compilation taking *per* file? This is usually 1-3 seconds and is normal. Compiling large projects does take a long time. We have done a lot of work in MyEclipse 5.0 to speed this up however.
Roel De NijsMemberit’s taking 4-5 minutes for the whole bunch (± 100 jsp-pages), so indeed 1-3 seconds per page. but i had the feeling that in earlier version it was faster
Riyad KallaMemberUnfortunately no, JSP compilation is a very lengthy/expensive process. First the pages need to be run through a translator (JSP compiler) that generate a servlet class, and then run through the javac compiler to check for compilation errors. As I mentioned in MyEclipse 5.0 this should be improved though. Sorry for the inconvenience in the interm.
Riyad KallaMemberI just wanted to follow up and let you know that JSP compilation in MyEclipse 5.0 will be *much* faster. We are in the midst of testing and out of curiosity I cleaned my test project which normally takes about 1 minute to build, and it built in 8 seconds. Of course your milage will vary, but suffice it to say it will be much better.
Roel De NijsMemberThanks for the info and the follow-up
From 1 minute to 8 seconds, that’s quite a performance boost (if WADA gets informed about this one, MyEclipse 5.0 will be tested on the use of EPO and other drugs 😀 )
Riyad KallaMemberThe core reason for the huge increase is that the validation is run in parallel and one one at a time on each file in serial. You can check your progress view and see a ton of EL-validation, JSP-validation and other validators spin up, all working in parallel. It’s pretty slick, no more long waits.
Roel De NijsMemberI downloaded today Eclipse 3.2 and the MyEclipse 5.0M2 release and tried out the JSP compilation immediately and i have to say: performance and speed has improved a lot. and if i check the progress-view i saw the parallel processing of the JSP
i would say: 2 thumbs up and keep up the good work
Riyad KallaMemberGlad to hear it’s working much better now.
-
AuthorPosts