Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348602

Summary: Optimize time spent "painting"
Product: [ECD] Orion Reporter: Simon Kaegi <simon_kaegi>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: susan
Version: 0.2Flags: susan: review+
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Simon Kaegi CLA 2011-06-07 11:50:01 EDT
Our pages are spending tons of time painting now and as the page comes in it looks bizarre.

Off the top of my head we could set the body.style.visibility to "hidden" in the html file and then defer the dojo.parse to the bottom of the matching js file so we do something like...

document.body.style.visibility = "visible";
dojo.parser.parse();

at the very bottom.
Comment 1 Susan McCourt CLA 2011-06-07 23:39:13 EDT
reviewed with Simon.
+1.
I can see an appreciable speed difference plus cleaner painting.

good to push.
Comment 2 Simon Kaegi CLA 2011-06-07 23:40:29 EDT
...and pushed.