Community
Participate
Working Groups
20050426 running self hosted with jface and SWT loaded from HEAD. Profiled with OptimizeIt (likely faster without profiling) STEPS 1) load win32.x86 plugin 2) Select all of the classes in org.eclipse.swt.internal.win32 3) Pop up the menu Of the 3662ms it look to show 2404 was spent in CVSAction#selectionChanged
Created attachment 20605 [details] Trace output of the popup
Which plugin is the win32.x86 plugin? I have an org.eclipse.swt.win32.win32.x86 plugin but it doesn't have any Java packages. I did look at the org.eclipse.swt.internal.win32 package in the org.eclipse.swt plugin. Opening up a context menu on all the items is not instantanious but takes less than a second.
My mistake - it is in the win32 package of the SWT plug-in
I was able to improve the performance by caching often calculated values in a WeakHashMap. This allows the calculation to be shared accross actions.
Verified