Re: [gwt-contrib] -XcompilePerFile feedback

2014-09-02 Thread 'John Stalcup' via GWT Contributors
I don't see style.gss in the repo.


On Fri, Aug 29, 2014 at 2:45 PM, Julien Dramaix 
wrote:

> Dear GWT team,
>
> I'm now using the GWT 2.7 snapshot and I'm testing the "per file"
> compilation and I found one issue.
>
> Consider a UiBinder template using an external ClientBundle containing a
> GssResource. If you change something on the .gss file and hit the button to
> recompile the application. The application fails to run with this error:
> Uncaught com.google.gwt.event.shared.UmbrellaException: Exception caught:
> Exception caught: (ReferenceError) : HomePageView_BinderImpl$Widgets_1_g$
> is not defined
>
> To reproduce this error, use this small application:
> https://github.com/jDramaix/gwtpgwt27, change something in
> the file be/jdramaix/test/client/resources/style.gss and recompile the
> application.
>
> I found also two others issues, but I was not able to reproduce them with
> the simple application. I will try to investigate Monday in order to get
> you an example.
>
> Julien
>
>  --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/CABb_3%3D63%3D4dAGGLf3M-izC55GmE4Lr7i50FxW408Ye6P5G8JzQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAFw3gJ-z8mfPgytZQzPUYNVzb1JBP7yw4KRYGmqs5_HtrmXUAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gwt-contrib] Re: SDM "-XcompilePerFile": initial feedback

2014-09-02 Thread Arnaud TOURNIER
Hi Daniel,

I made some more serious tests on a production project with which i used to 
develop using the classic DevMode.
Those are the numbers that come from the CodeServer with or without the 
-XcompilePerFile flag, and they are quite impressive :

   Standard Compile per file Reduction
1st compile  101s 41s  59%
Change 1 string and recompile 16s 5,8s  64%
Change 1 string and recompile 18s 3,6s  80%

First compile Unification traversed 60072 fields and methods and 6179 
types. 6139 are considered part of the current module and 6139 had all of 
their fields and methods traversed. 
Second compile Unification traversed 2528 fields and methods and 2650 
types. 124 are considered part of the current module and 124 had all of 
their fields and methods traversed.

I did not use the Chrome dev tools to debug the application but the SDBG 
plugin for Eclipse.
The experience is almost incredible, perfectly usable and much faster than 
the classic DevMode. The only bad thing is not having the Java fields 
inspected correctly (although one can guess the javascript equivalents most 
of the time) and little things that can be covered with time... Everything 
needs a compromise and having that debugging experience brought back to 
Eclipse is really what i was fearing to lose with the SuperDevMode. So i 
will adopt the SuperDevMode for a while !
Ray, Brian, John and Robert, Ivan, James and you all made a really 
impressive work ! The future of GWT is assured ! Now i can't wait to have 
the Java 8 features to be tried ;)

Now i have a question about the message "Unification traversed..." : first 
what means the message exactly (i need to see the code) and second why some 
many fields and methods are traversed if only change one file ?

Next i had ideas but no time to implement them, maybe i dump them here with 
the hope they can be useful ;)
- Recompile on file change. The time the user switches to the browser, the 
compile is almost finished.
- Tool to benchmark.
- Recompile on F5, standard SuperDevMode linker
- GWT plugin for eclipse : GWT tools + SDBG
- Sample including the experience

Thanks a lot again for all the work and the good things coming out !
Arnaud



Le lundi 1 septembre 2014 12:25:38 UTC+2, Daniel Kurka a écrit :
>
> Hi Arnaud,
>
> are those 10s after the changes we made or before?
>
> -Daniel
>
>
> On Mon, Sep 1, 2014 at 12:02 PM, Arnaud TOURNIER  > wrote:
>
>> Thanks to all of you who participated to this very good things !
>>
>> I am now able (from the trunk) to have a great experience debugging with 
>> Gwt + Eclipse + Sdbg + Chrome.
>>
>> I cannot be quantitatively very precise but the latest optimization 
>> (-XcompilePerFile) seems to give good results. My project on which i test 
>> that is not so big so the compilation takes about 10 seconds. Improvements 
>> are obvious !
>>
>> Thanks a lot!
>>
>> Le vendredi 29 août 2014 18:16:40 UTC+2, juan_pablo_gardella a écrit :
>>>
>>> Great news!! Thanks a lot for the effort.
>>>
>>>
>>> On 29 August 2014 13:02, Ivan Markov  wrote:
>>>
 BTW using a more recent laptop seems to make a difference and nearly 
 doubles the performance:
 MacBook Pro model 2013 (I7 2.7 GHz):
 - 2 to 3 seconds for recompiling changes to a single file
 - 2 to 3 seconds for linking
 - Changes to more types of course again results in a growth of the 
 recompilation time; this time it is 8 instead of 13 seconds for the same 
 set of around 10 changed files. Linking still 3 seconds.

 I think you are getting there!

  -- 
 You received this message because you are subscribed to the Google 
 Groups "GWT Contributors" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to google-web-toolkit-contributors+unsubscribe@
 googlegroups.com.
  To view this discussion on the web visit https://groups.google.com/d/
 msgid/google-web-toolkit-contributors/c646cebb-005a-
 42fd-9f9d-62334e1a3189%40googlegroups.com 
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Contributors" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com 
>> .
>>  To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/2e4c1342-cd60-48c8-b6c0-eb286350b36b%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Google Germany GmbH
> *Dienerstr. 12*