Community
Participate
Working Groups
Build: I20050509-2010 Closing a large number of projects is slow. Investigate where the time is going.
I created a workspace containing platform-core and platform-ui modules. This contains 18 projects. I closed and reopened all projects once before starting to measure, to make sure everything was warmed up. On the second run of closing all projects: Total time: 9.75 seconds 3.5 seconds in pde.internal.core.WorkspaceModelManager 1.9 seconds in jdt.internal.core.DeltaProcessingState 0.2 seconds in other miscellaneous listeners. This leaves about 4 seconds for writing all the project tree state to disk.
Same test case right after startup in Java perspective: Total time: 10.8 seconds PDE listener: 5.4 seconds JDT listener: 1.5 seconds Other: 0.2 seconds Core resources: 3.7 seconds
Closing. Profiling showed nothing exceptional. Closing projects is I/O intensive since it is writing all tree and model states to disk.