Change 20100813-maxcarlson-y by [email protected] on 2010-08-13 
12:40:15 MDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: General performance improvements

Bugs Fixed: LPP-6892 -  Generated File Sizes baseline complete; Performance 
Tuning ongoing

Technical Reviewer: ptw
QA Reviewer: hminsky

Details: LzUtils - Add caching for fromhsv().  

LaszloEvents - Small optimizations, prevent excessive lookups.

drawview - Avoid redrawing the same path twice.  Remove drawview-specific color 
caching, since LzUtils. already caches most color conversions.  Speed up 
__updateLineStyle() by unrolling for..in loop.  Shorten lookups.

embednew - Optimize event handler used by attachEventHandler().

Tests: All apps run as before - but faster!  I verified these changes improve 
performance in Firebug.

Files:
M       WEB-INF/lps/lfc/services/LzUtils.lzs
M       WEB-INF/lps/lfc/events/LaszloEvents.lzs
M       lps/components/extensions/drawview.lzx
M       lps/includes/source/embednew.js

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20100813-maxcarlson-y.tar

Reply via email to