Bug 542509

Summary: ResourceHandlerTest slow (loading a model via EMF)
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, Ed.Merks, Lars.Vogel
Version: 4.10Keywords: test
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard: stalebug

Description Lars Vogel CLA 2018-12-07 04:37:18 EST
ResourceHandlerTest#testProcessedApplicationModelNotNull run very long (>20 secs on my machine).

The only thing it does it loading the EMF model via ResourceHandler. I see now reason why this should take so long. Maybe we are using EMF incorrectly?
Comment 1 Lars Vogel CLA 2018-12-07 04:37:53 EST
Ed, could you have the look? ResourceHandler is located in platform UI repo.
Comment 2 Ed Merks CLA 2018-12-07 12:34:27 EST
It takes 3.72 seconds to run just this one test case for me, and when I measure it appears most of the time is spent loading classes (which makes sense given I'm running just this one test case).
Comment 3 Lars Vogel CLA 2018-12-10 11:06:31 EST
(In reply to Ed Merks from comment #2)
> It takes 3.72 seconds to run just this one test case for me, and when I
> measure it appears most of the time is spent loading classes (which makes
> sense given I'm running just this one test case).

Which OS you are using? On Windows 10 is takes ~23 seconds to run.
Comment 4 Ed Merks CLA 2018-12-10 15:03:08 EST
Windows 7 Professional.
Comment 5 Eclipse Genie CLA 2020-11-30 06:56:44 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.