Community
Participate
Working Groups
Tycho caches all p2 artifacts in the local Maven repository. The LocalMavenRepository implementation is able to answer the question if a specific IArtifactKey is available. Therefore the p2 resolver could postpone the loading of the (remote) p2 artifact repositories to the point where it finds a locally unavailable artifact in the resolved target platform. The target platform resolution is solely based on p2 metadata, so this is possible. This cuts down the typical, total number of HEAD http requests to half (-> no more requests to the artifact repos), with bug 347403 fixed possibly even to a much lower percentage. The number of http round trips is the reason why "Adding repository http://download.eclipse.org/releases/helios" takes so long.
Changing severity to normal, because this is a serious performance bug. Scheduling for 0.13
I probably won't have time to fix this for 0.13...
This behaviour is already implemented in the (currently still partial) patch for bug 393004.
This performance improvement comes with this change: https://git.eclipse.org/r/#/c/9333/
This problem is fixed as part of this larger commit: http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=9fa0c707522eb0dcf37be2cec4d6a99d6c9bb484