| Summary: | Tweak client performance | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Tim Buschtoens <tbuschto> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | shawn.kleese, tbuschto |
| Version: | 1.5 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Tim Buschtoens
Important note: The 2 to 20% are relative to the time needed to process the message itself, NOT including the actual rendering, which makes 50% or more of the entire process. Refactored Processor.js to minimize lookups in ObjectManager.js. Changes are in CVS HEAD. Sadly, setAppearance can not be easily replaced or refactored to prevent unnecessary calculation, because some code relies on this to be done immideatly. While this could be fixed, i'm not feeling that it is too risky and not worth the effort. Removed all occurrences of "qx.core.Variant.isSet( 'qx.debug', 'on' )" and of qx.core.Settings, including Settings.js in CVS HEAD. Replaced all instances of "qx.core.Variant.isSet( "qx.client", .." in CVS HEAD. The instances of Variant.isSet then remain i would rather not touch right now. Introduced Target.js#dispatchSimpleEvent to CVS HEAD. This does not create a qooxdoo event object, and is used by Widget.js ("appear", "create", "insertDom") and TreeItem.js ("update").
Calls to prepareEnhancedBorder have been optimized to be done before any elements or properties have to be copied, reducing the number of DOM-accesses (non CSS3 browser only). Changes are in CVS HEAD. |