[Laszlo-dev] For Review: Change 20070813-maxcarlson-b Summary: UPDATED: performance improvements

Max Carlson max at openlaszlo.org
Mon Aug 13 16:26:13 PDT 2007


Change 20070813-maxcarlson-b by maxcarlson at plastik on 2007-08-13  
16:24:27 PDT
     in /Users/maxcarlson/openlaszlo/wafflecone
     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: UPDATED: performance improvements

New Features:

Bugs Fixed: LPP-4394 - "LzGlobalMouse.onmousemove" is way to slow for  
"LzView.prototype.getMouse.dependencies" in SWF, LPP-4414 - Improve  
startup performance (partial)

Technical Reviewer: promanik
QA Reviewer: ben
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LzCSSStyle.js - Inlined getSpecificity() and  
getSelectorSpecificity() in __compareSpecificity().  Swf 7 profiler  
shows 2217 fewer function calls.

LaszloView.lzs - Fix per LPP-4394, cache setVisible() and  
setVisibility() values.

Tests: Swf 7 profiler shows 2217 fewer calls to getSpecificity() and  
getSelectorSpecificity() and 47 fewer calls to __LZupdateShown().   
Also passes http://localhost:8080/wafflecone/test/style/metasuite.lzx? 
lzr=swf8&debug=true

Files:
M      WEB-INF/lps/lfc/services/LzCSSStyle.js
M      WEB-INF/lps/lfc/views/LaszloView.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070813- 
maxcarlson-b.tar


More information about the Laszlo-dev mailing list