Bug 817688 - Change GWT compile style to "Pretty" to reduce application size
Summary: Change GWT compile style to "Pretty" to reduce application size
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Performance
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Mike Thompson
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-30 21:44 UTC by Mike Thompson
Modified: 2013-09-01 19:18 UTC (History)
1 user (show)

Fixed In Version: 4.5.0
Clone Of:
Environment:
Last Closed: 2013-09-01 19:18:40 UTC
Embargoed:


Attachments (Terms of Use)
Show load times for each gwt compile option (38.24 KB, image/jpeg)
2012-04-30 21:44 UTC, Mike Thompson
no flags Details

Description Mike Thompson 2012-04-30 21:44:42 UTC
Created attachment 581285 [details]
Show load times for each gwt compile option

Description of problem:

The Pretty option gives us the best performance option while still maintaining the ability for stack traces.

It reduces the application size by 1/3.


See attachment for App Initial Download Times.

Comment 1 Mike Thompson 2012-05-10 15:41:34 UTC
master commit: e271195

As the above report confirms that the pretty option is the best size/performance option while still providing usable stack traces with source file names and line numbers. See http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions for options.


This choice should eliminate the option for OBF with emulated Stack traces. So I'm removing the following code from CoreGui.gwt.xml (it is here for future reference):

 <!-- the emulated stack allows us to run in OBF compiled script and gives us stack traces
         for debugging (we will investigate this more in the near future).
         see:  http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions
    <set-property name="compiler.stackMode" value="emulated" />
    <set-configuration-property name="compiler.emulatedStack.recordLineNumbers" value="true" />
    <set-configuration-property name="compiler.emulatedStack.recordFileNames" value="true" />
    -->

Comment 2 Heiko W. Rupp 2013-09-01 19:18:40 UTC
Bulk closing of BZs that have no target version set, but which are ON_QA for more than a year and thus are in production for a long time.


Note You need to log in before you can comment on or make changes to this bug.