Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348602 - Optimize time spent "painting"
Summary: Optimize time spent "painting"
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Simon Kaegi CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-07 11:50 EDT by Simon Kaegi CLA
Modified: 2011-09-01 11:41 EDT (History)
1 user (show)

See Also:
susan: review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.