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

Bug 364208

Summary: Long delays previewing relatively simple RUI
Product: z_Archived Reporter: Will Smythe <smythew>
Component: EDTAssignee: Project Inbox <edt.deployment-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: chenzhh, jspadea, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Test project
none
Chrome timeline trace (view in Chrome / Developer Tools) none

Description Will Smythe CLA 2011-11-18 21:59:13 EST
Created attachment 207259 [details]
Test project

I have noticed it can take 10+ seconds for a relatively simple RUI to preview. Normally this delay is seen after working with the RUI in the VE. Launching into an external browser is just as noticeable, however.

See the attached project (specifically MainSnippetsView.egl) and the attached Chrome Timeline log (which can be imported into Chrome Developer Tools). Note how there are a number of .js GET request that take 1+ seconds (Button.js, MVCLib.js,     Div.js, UtilLib.js, Snippet.JS, etc). This appears to be the cause of the significant delay. Not all .js files are taking this much time to load (many load in a few milliseconds).

I am primarily using Chrome on Windows, but notice similar delays in FF and IE.
Comment 1 Will Smythe CLA 2011-11-18 22:01:00 EST
Created attachment 207260 [details]
Chrome timeline trace (view in Chrome / Developer Tools)
Comment 2 Tony Chen CLA 2011-11-18 22:48:47 EST
Hi Will, this is exactly the problem we are trying to resolve in bug 360348

I believe the fixes has made things a lot better. With the latest build, you should not see that often. And if you are just using one VE, it's less likely to happen. In comment 43 of bug 360348, I have proposed some changes we can make to fix the unresolved part of the problem, but due to the late stage in 0.7, that probably will have to wait to 1.0. 

I'll mark this one as duplicated. Please put your further remarks into bug 360348.

*** This bug has been marked as a duplicate of bug 360348 ***