I think you are not understanding the proper way to do this (it's on the docs btw for how Google uses it). You specify a specific permutation during development (i.e. english/firefox) so that compilation is super-fast (use a separate gwt.xml file with the rename-to option). When you compile all permuations, that's for deployment - happens much less frequently. Also it a very parallelizable operation, so add the localWorkers option to your project if you have more than 1 cpu - i.e. (-localWorkers 4).
2009/4/23 Dobes <[email protected]> > > I'm considering translating my app, but I realized that it currently > takes 12 minutes for GWT to compile the application - thus, for five > languages would it take an hour, is that right? > > Or is the compiler smart enough to realize that the only thing that > changes between these versions is those strings (no code is changing, > so why recompile and re-optimize it all)? > > It seems like GWT's "permutations" system is really it's greatest > problem for me right now. I think there are relatively few classes > that differ between permutations and the performance gains are > probably not that great. > > > I think it would be a lot better for my purposes to have a single > permutation and just have GWT.create() instantiate the right generated > subclass for the current browser/language setup. In fact, that would > cut my compile time down to just 2 or minutes. How do you propose to do that? The whole point of GWT.create is that it is a compile-time substitution - it actually changes what code is generated. > > Has anyone actually measured the benefits of compiling separately for > each browser as opposed to just using an appropriate subclass? They have - it was quite significant. But all these are just micro benchmarks, so they aren't going to give you an appropriate view of the impact on your application. A generic approach requires the traditional javascript way of doing unnecessary feature checks. > > > Any idea how much work it would be to customize the compiler to work > this way? Not going to happen since it defeats the whole purpose of doing GWT. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
