Re: How far does the optimizations of the GWT compiler go..?

2012-06-24 Thread mdwarne
I once wrote a library of classes, and wrote a test program that exercised a few of them. Then I looked at the javascript generated in 'pretty' mode. It was very tiny, only the few methods I used where included, and many of the local variables etc where removed through optimizations etc. For

Re: How far does the optimizations of the GWT compiler go..?

2012-06-24 Thread Carsten
I haven't yet -- maybe I will. Strange that this problem is not fixed yet. On Sunday, June 24, 2012 4:20:28 PM UTC+2, Joseph Lust wrote: > > Carsten, > > Did you try compiling the SoycDashboard tool as detailed in the > docs? > I ha

Re: How far does the optimizations of the GWT compiler go..?

2012-06-24 Thread Joseph Lust
Carsten, Did you try compiling the SoycDashboard tool as detailed in the docs? I have not, but it sounds like it might be an alternative viewer for all the XML files that are created, but not shown on the index html page. Sincerel

Re: How far does the optimizations of the GWT compiler go..?

2012-06-23 Thread Carsten
I did. When I compile with -compileReport, at least the first link for Safari works. All other links do not. If I compile with -XsoycDetailed not even the first link is working. It creates all other files from the report though. On Saturday, June 23, 2012 9:18:04 PM UTC+2, Joseph Lust wrote: >

Re: How far does the optimizations of the GWT compiler go..?

2012-06-23 Thread Joseph Lust
Thanks Jim. I starred it and commented on it. Anyone else affected should do the same. Sincerely, Joseph -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-we

Re: How far does the optimizations of the GWT compiler go..?

2012-06-23 Thread Jim Douglas
http://code.google.com/p/google-web-toolkit/issues/detail?id=6691#c1 On Jun 23, 6:45 am, Joseph Lust wrote: > I tried enabling SOYC yesterday too (GWT 2.3). I had the same issue. The > links on the index page for the first permutation worked, but not the > second permutation. SOYC defect? > > Jos

Re: How far does the optimizations of the GWT compiler go..?

2012-06-23 Thread Joseph Lust
I tried enabling SOYC yesterday too (GWT 2.3). I had the same issue. The links on the index page for the first permutation worked, but not the second permutation. SOYC defect? Joseph -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To vi

Re: How far does the optimizations of the GWT compiler go..?

2012-06-23 Thread Carsten
Thanks. I tried it. Strangely only soycReport/compile-report/CompilerMetrics-0-index.html is generated. For all the other browsers their files are missing. When I open soycReport/compile-report/index.html and click on one of the 'Compiler Metrics' links only the first (Safari) is functional. Th

Re: How far does the optimizations of the GWT compiler go..?

2012-06-21 Thread Paul Stockley
Story of your compile. Do a google search. On Thursday, June 21, 2012 4:59:09 PM UTC-4, Carsten wrote: > > Interesting. What means soyc? > > On Thursday, June 21, 2012 10:41:54 PM UTC+2, Paul Stockley wrote: >> >> Yes it will remove methods and classes that are not used. If you compile >> with th

Re: How far does the optimizations of the GWT compiler go..?

2012-06-21 Thread Carsten
Interesting. What means soyc? On Thursday, June 21, 2012 10:41:54 PM UTC+2, Paul Stockley wrote: > > Yes it will remove methods and classes that are not used. If you compile > with the option -compileReport it will generate a soyc report that shows > you all the code that is included in your pro

Re: How far does the optimizations of the GWT compiler go..?

2012-06-21 Thread Paul Stockley
Yes it will remove methods and classes that are not used. If you compile with the option -compileReport it will generate a soyc report that shows you all the code that is included in your project. On Thursday, June 21, 2012 4:17:53 PM UTC-4, Carsten wrote: > > Hi, > > I was wondering how well th

Re: How far does the optimizations of the GWT compiler go..?

2012-06-21 Thread Dennis Haupt
i would not rely on that. there are tools which are better suited for this. my first choice would be intellij idea because it can also detect calls to methods from those native js gwt thingies that other tools don't understand. they would detect methods called only from native js as unused. and ye

How far does the optimizations of the GWT compiler go..?

2012-06-21 Thread Carsten
Hi, I was wondering how well the GWT compiler is able to remove unused parts? Can it even remove methods and fields from a class which are never used? Example: VeryComplexObject vco = null; initVCO() { ... }; If initVCO is never called from my code, will the GWT compiler remove the method in