Community
Participate
Working Groups
Created attachment 273011 [details] Screenshot: Profiler While profiling a clean build a hot spot was shown by YourKit in org.eclipse.pde.api.tools.internal.builder.ReferenceExtractor.processName(String) for its usage of String#replaceAll. replaceAll usage a regexp, but a simple char replace is sufficient here.
New Gerrit change created: https://git.eclipse.org/r/118801
Gerrit change https://git.eclipse.org/r/118801 was merged to [master]. Commit: http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=8e1b978411d059b542616c60756c549f585b9072
verified by code inspection
Can you attach snapshot of profile post this change and % change of time difference for the same scenario?
The results won't be comparable anymore. This heavily depends on the workspace and how often that is called. I will profile a clean build on my current platform workspace, and this method should not be visible as hot spot.
Created attachment 273961 [details] Screenshot: Current profile On a clean build, String#replace is used by ReferenceExtractor and uses almost zero time.