Community
Participate
Working Groups
Created attachment 244590 [details] Workaround for build speed degradation
Hi, after the release of Luna I tried do build a large RCP product which was usually built with Indigo. Building the product with Luna takes approx. 4-5 times longer compared to Indigo due to a very long time "Generating build scripts". In Indigo, the build script creation phase took about 1 minute and the remaining steps took about 3 minutes. In Luna, the build script creation takes about 16!! minutes, the remaining steps are as fast as in Indigo. I must admit that the product has a more than suboptimal class path structure - cleanup is in progress but will take time. All 3rd party libraries which are no plugins are wrapped in a single plugin. This plugin is used by many of the RCP plugins. I narrowed down the hot spot which caused the slow down. The string concatenation seems to be problematic for long strings and I suppose that this method is called very often. My workaround caches the "rules" and the speed degradation is gone. Is it possible to add this or something similar to Eclipse? If requested, I could try to create an uploadable / open source licensed package that can reproduct the problem after my holidays about in one week.
Moving from Indigo to Luna is quite the jump, it would be better to know what change caused the performance hit. No one is actively working on PDE Build, but your proposed change looks reasonable at first glance. Hopefully we will have time to investigate further in 4.5. An example product to reproduce would be helpful.
Dropping from 4.5 as there is no one working on PDE Build and there is no example to reproduce the slowdown.
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix.