Bug 91767 - [RCP][Decorators] getResourceAdaper is slow due to reflection
Summary: [RCP][Decorators] getResourceAdaper is slow due to reflection
Status: RESOLVED DUPLICATE of bug 177412
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks: 89406
  Show dependency tree
 
Reported: 2005-04-18 14:15 EDT by Tod Creasey CLA
Modified: 2007-06-21 15:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2005-04-18 14:15:33 EDT
20050413 with UI loaded from HEAD

When you open a editor on the class OS from SWT 3.3% of the time (349ms for this
case) was taken in DecoratorManager.getResourceAdapter() which is eating up most
of its time in class getDeclaredMethod. We should see if there is a more
effecient method than calling these methods all of the time.

This code was added during the workspace/ide split to remove references to
resources.
Comment 1 Nick Edgar CLA 2005-04-19 10:39:04 EDT
I suggest moving the reflection logic here to LegacyResourceSupport, and adding
extra caching.
I can help with this when you want.
Comment 2 Nick Edgar CLA 2006-03-15 11:24:30 EST
Reassigning bugs in component areas that are changing ownership.
Comment 3 Boris Bokowski CLA 2007-06-21 15:17:32 EDT
Seems to be fixed.

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