Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364208 - Long delays previewing relatively simple RUI
Summary: Long delays previewing relatively simple RUI
Status: CLOSED DUPLICATE of bug 360348
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 21:59 EST by Will Smythe CLA
Modified: 2017-02-23 14:20 EST (History)
3 users (show)

See Also:


Attachments
Test project (163.29 KB, application/x-zip-compressed)
2011-11-18 21:59 EST, Will Smythe CLA
no flags Details
Chrome timeline trace (view in Chrome / Developer Tools) (366.08 KB, application/octet-stream)
2011-11-18 22:01 EST, Will Smythe CLA
no flags Details

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