Community
Participate
Working Groups
I was profiling the cold start up of the Web services wizard which makes a call to ProjectFacetsManager.check(). In WTP, this takes only 680ms. However, as a platform extender, in our larger application where there are over 15 facets, the same method call takes over 140,000ms. Can this time be improved?
If you are seeing this issue only on cold start, then you are not seeing the cost of running the check() method. You are seeing the cost of activating the plugins that define you various product facets. If those plugins are not carefully written, they can ripple activation across your entire product.
performance bugs should use performance keyword (not [performance] in subject).
Seng, as discussed, can you create a JUnit test case to determine if this is only a cold start up issue? Thanks.
Only a handful of needed plugins were activated for the task at hand; none of which extend facets. Could simply loading the extensions from the various plugins the very first time take this long? I wrote a JUnit test to repeatedly call the check() method and verified the performance hit happens the first time only.
Closing.