| Summary: | [region] linear search to find a bundle's region hurts performance | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Thomas Watson <tjwatson> | ||||||
| Component: | Components | Assignee: | Thomas Watson <tjwatson> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | glyn.normington | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Watson
I forgot that you also need org.eclipse.test.performance: http://dev.eclipse.org/viewsvn/viewvc.cgi/org.eclipse.test.performance/ Created attachment 194541 [details]
updated patch and tests
Here is an updated patch. I decided to remove the ConcurrentMap used to keep the set of bundle ids that belong to a region. This could potentially make Region.getBundle(String, Version) slower, but I don't think that is a method that gets called very much (if at all).
I released this last patch. |