History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4414
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: P0 P0
Assignee: Max Carlson
Reporter: Max Carlson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Improve startup performance

Created: 31/Jul/07 05:54 PM   Updated: 08/Aug/07 05:47 PM
Component/s: Laszlo Foundation Classes (LFC)
Affects Version/s: 4.0.5WaffleCone
Fix Version/s: 4.0.5WaffleCone

Time Tracking:
Not Specified

Severity: Minor
Runtime: N/A
Fix in hand: False


 Description  « Hide
This is a task to track general startup performance improvements.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
P T Withington - 06/Aug/07 04:31 PM
One thing to think about in this area is the use of subclasses of lz.node. I think there are many things in the system that are subclasses of node only because that was the easy way to define them. But nodes are fairly heavyweight. If the class being defined does not appear in the DOM, does not expect to be subclassed in LZX, it should not be a node. (Note that it could still be subclassed in script in LZX, but that would be an 'expert' usage.)

Max Carlson - 08/Aug/07 05:47 PM
From Sarah:
> that's what Elliot measured, i think. When he did the measurement is was around 20% -- I think our goal should be <5% but stop ship should be 10%

I added an <inittimer/> right below the opening canvas tag. Next I cleared the browser cache cache and restarted the browser (Firefox 2.0.0.6 OS X, Flash 9) several times with these two URLs:
http://localhost:8080/wafflecone/.../main.lzx?lzr=swf7&lzt=html
http://localhost:8080/trunk/.../main.lzx?lzr=swf7&lzt=html

wafflecone trunk
1249 1169
1248 1257
1273 1297
1245 1272
1222 1271
1229 1264
1231 1150
1240 1248
1242.125 1241 average

For this app, I think we're in good shape!

Max Carlson - 08/Aug/07 05:47 PM
There were many checkins addressing this bug.