Hi Alex, Dobes, There is a flag that you need to pass in to have the compiler run in multi-threaded mode.
The flag is: -localWorkers N, where N is some number greater than 1, depending on how many threads you want to use to compile your GWT application. Sorry for not mentioning this earlier. Hope that helps, -Sumit Chandel On Tue, Dec 9, 2008 at 11:50 PM, Alex Epshteyn <alexander.epsht...@gmail.com > wrote: > > Does anyone know the answer to this question asked by Dobes: > > > I checked out the trunk and I'm running thecompilerfrom it, but I'm > > not seeing any performance boost and only one CPU core is being used. > > Is there a command-line switch to turn on multiple threads? > > That's why I was reluctant spending at least an hour trying this > myself - I didn't believe it would actually be enabled by default. > > > On Nov 24, 7:29 am, Dobes <dob...@gmail.com> wrote: > > I checked out the trunk and I'm running thecompilerfrom it, but I'm > > not seeing any performance boost and only one CPU core is being used. > > Is there a command-line switch to turn on multiple threads? > > > > On Nov 12, 10:56 am, Alex Epshteyn <alexander.epsht...@gmail.com> > > wrote: > > > > > Hi Sumit, > > > > > This multithreadedcompilersounds intriguing. Could you provide some > > > guidance about how to get it and use it? > > > > > Thanks, > > > Alex > > > > > On Oct 13, 1:08 pm, "Sumit Chandel" <sumitchan...@google.com> wrote:> > Hi Rauf, > > > > There are currently no plans to rewrite the GWTcompileras a native > > > >compiler. There are plans to speedup compilation time with the current > GWT > > > >compiler, however, and the team is in the know about long compilation > times > > > > that some developers have been experiencing when moving their > projects form > > > > 1.4.x to 1.5. > > > > > > The new multi-threadedcompileris available in trunk if you're > interested > > > > in checking it out to see if it helps speed up your application > compile > > > > time. > > > > > > From benchmarks we've run and what some developers have been > reporting, the > > > > new multi-threaded compilation has been showing significant > improvements in > > > > compilation speed, so you should be getting faster results for your > own > > > > project as well. > > > > > > Hope that helps, > > > > -Sumit Chandel > > > > > > On Wed, Oct 8, 2008 at 2:36 PM, Rauf Issa <grandlo...@gmail.com> > wrote: > > > > > > > Any plans to write a native GWTCompilerlike jikes for java? I know > > > > > there are plans to improve GWTcompilerperformance in the upcoming > > > > > 1.6 release of GWT by multi-threading but I am not sure that will > make > > > > > enough difference. A nativecompilerlike jikes would be better and > > > > > much faster. > > > > > > > Our product, JobServer (job scheduling engine) uses GWT for its GUI > > > > > SDK and we compile GWT components on the fly the first time the GWT > is > > > > > used. This frees the developer from doing the GWTcompilerif they do > > > > > not want to. This works very well but the initial GWT compiling of > the > > > > > GWT UI components can take minutes sometimes and is annoying. I > would > > > > > really like this to be more like compiling JSP pages for example. > > > > > > > Anyway I can only hope that GWT compiling gets faster (right now it > is > > > > > getting slower with all the advanced optimizations done in GWT 1.5 > :) > > > > > > > Rauf Issa > > > > >http://www.grandlogic.com > > > > > "JobServer - The Most Comprehensive Java Job Scheduling Platform" > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---