Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-12-06 Thread Etienne Basso
Yes I confirm this. For using SSO I had to set only one language. I do multiple build manually for each language until I find a better solution. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving e

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-12-06 Thread Etienne Basso
Yes I use SSO and Cc from gwt 2.7 I also use other optimizations like XdisableClassMetadata and XdisableCastChecking. I also use smaller css class names: In my very specific case this makes a big difference. -- You received this message because you are subscribed to the Google Groups "GWT

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-12-01 Thread Slava Pankov
Still not working for me. [ERROR] The module must not have multiple fragments when using the Single Script Linker. Probably the problem is that I have many languages (i18n) in my app. Any other ideas? On Wednesday, November 30, 2016 at 11:08:13 PM UTC-8, Kirill Prazdnikov wrote:

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-30 Thread Kirill Prazdnikov
Please try single permutation On Thu, Dec 1, 2016 at 1:50 AM, Slava Pankov wrote: > SSO is not working for my project, I cannot successfully compile with it. > Put the following to my gwt.xml, but no luck: > > > > > > > On Tuesday, November 29, 2016 at 6:44:37 AM UTC-8, Kirill Prazdnikov

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-30 Thread Slava Pankov
SSO is not working for my project, I cannot successfully compile with it. Put the following to my gwt.xml, but no luck: On Tuesday, November 29, 2016 at 6:44:37 AM UTC-8, Kirill Prazdnikov wrote: > > Do you use SSO ? SSO script is smaller then no SSO. Did you run CC on it ? > > 29 нояб. 2016

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-29 Thread Kirill Prazdnikov
Do you use SSO ? SSO script is smaller then no SSO. Did you run CC on it ? 29 нояб. 2016 г. 17:29 пользователь "Etienne Basso" написал: > Hi Ignacio, > > This is not only about loading time over the network, but also about > script parsing by the web browser. > In 98% of the case this is not an

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-29 Thread Etienne Basso
Hi Ignacio, This is not only about loading time over the network, but also about script parsing by the web browser. In 98% of the case this is not an issue, but I have a very specific use case were the code is directly embedded on a special device which doesn't even have a real CPU but an ASIC

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-28 Thread Slava Pankov
No, I have not tried SSO. But in 2.7 it was working fine without SSO, I will try SSO and let you know. On Saturday, November 26, 2016 at 12:55:25 AM UTC-8, Kirill Prazdnikov wrote: > > Hi > > >> I've tried WITHOUT any success to use closure compiler externally with >> GWT 2.8 >> > > Did you t

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-28 Thread Kirill Prazdnikov
I have some glue. Google JS Compiler used in chrome is able to detect some patterns and jit. But some patterns are not detected. Ex: for are deceted, do ... while sometimes not. It happens so that GWT produce patterns detectable for JS Compiler. And Closure can break that structure. I am happy t

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-28 Thread Frank
I am also interested in answers to this question. When Closure became available in GWT I did many real world tests on real world projects. And in the end the code compiled with closure was slower in every case (although smaller). So I never understood why anyone would want to use that closure c

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-26 Thread Ignacio Baca Moreno-Torres
But IMO if you really care user experience you have other places to improve your page. I thinks updating to the last version is always a good idea, if any security or compatibility blocker problem is detected in your version you will need to update, and having a old version won't help. Also this

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-26 Thread Kirill Prazdnikov
Hi > I've tried WITHOUT any success to use closure compiler externally with GWT > 2.8 > Did you try SSO ? Did you run Closure Compiler on SSO output script ? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and s

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-25 Thread Slava Pankov
@Jens I've tried WITHOUT any success to use closure compiler externally with GWT 2.8 See my question here: https://groups.google.com/forum/#!searchin/google-web-toolkit/closure$20compiler%7Csort:date/google-web-toolkit/k_kjIv9Klsg/LZAZiUf9BAAJ Still want to find out exact steps to get it workin

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-25 Thread Kirill Prazdnikov
Hi Jens, What if we have SSO linker ? Then no hacks is needed, right ? Then just run the Google Closure Compiler on the output. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-25 Thread Óscar Frías Barranco
> Do you have a step by step guide to run the closure compiler externally ? >> > > Basically you would need to replicate what has been done programmatically > in the removed ClosureJsRunner class. See commit > > https://github.com/gwtproject/gwt/commit/162ccc9c9112a09bf9e > a046da95760f5f1886b72 >

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-25 Thread Jens
> Do you have a step by step guide to run the closure compiler externally ? > Basically you would need to replicate what has been done programmatically in the removed ClosureJsRunner class. See commit https://github.com/gwtproject/gwt/commit/162ccc9c9112a09bf9ea046da95760f5f1886b72 Looks like

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-25 Thread Óscar Frías Barranco
> > And why don't keep it experimental too in 2.8 instead of removing it? >> > > Why keeping it if it's only half baked into GWT and you can run it > externally as well? > Do you have a step by step guide to run the closure compiler externally ? -- You received this message because you are subs

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-24 Thread Jens
> And why don't keep it experimental too in 2.8 instead of removing it? > Why keeping it if it's only half baked into GWT and you can run it externally as well? But I guess part of the reason to delete it is because GWT is in the process of cleaning itself up to move forward to GWT 3.0. Give

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-24 Thread Kirill Prazdnikov
Hi, I think you can - enable single permutation, single script linker - run the tool from maven build: apply gwt maven plugin, and then apply required version of Closure Compiler On Thu, Nov 24, 2016 at 5:43 PM, Óscar Frías Barranco wrote: > > >> Do you plan to bring Closure Compiler (-Xen

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-24 Thread Óscar Frías Barranco
> Do you plan to bring Closure Compiler (-XenableClosureCompiler option) >> back to GWT? It was very useful for us. >> > > No. It was experimental and had some rough edges that haven't been fully > implemented. > And why don't keep it experimental too in 2.8 instead of removing it? -- You recei

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-24 Thread Kirill Prazdnikov
Do you have performance measurements ? Did the performance better for 2.7 ? Did you measured real transfer traffic (web server supports real-time GZ compression over HTTP) ? Thanks On Thursday, November 24, 2016 at 3:46:49 PM UTC+3, Óscar Frías Barranco wrote: > > Hi. > > We are trying to mo

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-24 Thread Jens
> Do you plan to bring Closure Compiler (-XenableClosureCompiler option) > back to GWT? It was very useful for us. > No. It was experimental and had some rough edges that haven't been fully implemented. You would need to execute it manually using the GWT output as input to Closure Compiler (

GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-24 Thread Óscar Frías Barranco
Hi. We are trying to move our website from GWT 2.7 to 2.8 but we have found that GWT 2.8 generates code which is significantly heavier. For example, these are the sizes for one of the permutations: GWT 2.7 + Closure Compiler: 590 KB GWT 2.7 without Closure Compiler: 664 KB GWT 2.8 (no Closure