Bug 27747 - [startup] loading jdt ui messages takes quite some time on startup
Summary: [startup] loading jdt ui messages takes quite some time on startup
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on: 27944
Blocks:
  Show dependency tree
 
Reported: 2002-12-05 09:11 EST by Adam Kiezun CLA
Modified: 2003-02-05 02:51 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Kiezun CLA 2002-12-05 09:11:50 EST
we have 36 .properties files in jdt ui.
loading each takes some time - i do not have numbers as of now but it seems to 
take 1%, 2% there and so on.

maybe merging them would speed up
Comment 1 Adam Kiezun CLA 2002-12-09 10:26:43 EST
On an empty workspace 30% is spent to create the actions for the package 
explorer part. 7% of the time is spent to read resource bundles. Before we 
start merging resource bundles we should avoid loading the actions. This is 
currently not possible due to the "retarget action archirtecture". 

On a populated workspace the time spend for reading the resource bundles drops 
down to 1%. 

If we merge the resource bundles what we save are two open/close of files. We 
have to read the content anyway. 

Since we think that the performance gain is minimal,  no immediate action 
planned for M4.
Comment 2 Adam Kiezun CLA 2002-12-12 11:39:29 EST
using a mock resource bundle results in a 5% speedup on startup
Comment 3 Dirk Baeumer CLA 2003-02-05 02:51:58 EST
No further action planned for 2.1. Core pointed out that they will not do anything 
regarding improved resource bundle support.