Bug 817688
| Summary: | Change GWT compile style to "Pretty" to reduce application size | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Mike Thompson <mithomps> | ||||
| Component: | Performance | Assignee: | Mike Thompson <mithomps> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | hrupp | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 4.5.0 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-09-01 19:18:40 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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" /> --> 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. |
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.