We haven't seen any significant change in code size except in places were we've actually used the new APIs (ex. Cell Widgets, SafeHtml). I just compared the GWT 2.0.4 Showcase sample to the GWT 2.1 Showcase sample, and all code increases are accounted for by Showcase's refactor and use of new Cell Widgets.
If you tar/zip your old soyc report and your new one, I'd be happy to compare the two and try to track down the code increase.
Thanks,
John LaBanca
jlabanca@google.com
jlabanca@google.com
On Fri, Oct 29, 2010 at 10:01 AM, buzdin@gmail.com <buzdin@gmail.com> wrote:
Hi,
Downloaded GWT 2.1 distribution and recompiled one of our mid-sized
(~1500 classes) Web apps, which is developed against 2.0 version.
Compilation time has not changed. I managed to get the same timing
However I see a significant increase in resulting obfuscated
JavaScript size.
The total size of JavaScript output increased by +30%-35% percent
depending on the browser. Without digging in details I could only
describe that with additions to existing 2.0 API, which references
more classes and interfaces and compiles them inside your app. Is this
side effect known by the GWT Dev Team or described somewhere? I know
about Code Splitting, but we have not migrated to that in this
particular project.
For further details I need to go inside SOYC reports. In the meanwhile
it would be interesting to know other project's experience in
migration and difference in JS size and compile time.
The good news are that backward compatibility is there. I have been
able to compile and run the project with no problems at all.
Dmitry
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment