tycho: Tycho 3.0.0 download speed is much slower as 2.7.5 if mirrors are used

A Tycho 2.7.5 build of our product takes just 3 and a half minutes compared with about 8 minutes on Tycho 3.0.0. Each build was timed with an empty .m2 directory. The extra time is spent downloading the artefacts.

Is there more going on with 3.0.0, or perhaps some new settings that might improve speed?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 38 (24 by maintainers)

Commits related to this issue

Most upvoted comments

@Phillipus I can verify your observation that Tycho 3+ is slower when downloading than Tycho 2.7 … I now just need to find out what the root cause for this. There are some things to check here:

  1. Tycho 3+ do not use gzip compression because usually files are already compressed and compressing a jar do not have much gain, still it might have a little influence but should not result in that much slow down given there are just about 200 files fetched.
  2. Tycho 3+ creates a full cache, that is once you have downloaded all content you can go fully offline, of course this has some overhead but again given todays hard rive speeds I don’t expect much overhead here as well.
  3. Tycho 3+ uses HtttpUrlconnection, it might be that we are hit by some system settings here that reduce e.c. keep alive handling. Again it is a bit strange that this should have such a large influence here.

So whats next is to take some measures here to get a better understanding whats going on.

@Phillipus Having an example is already great 😃

I’m just adding a note to all issues that are likely to “fall through” usual work of contributors, so if once someone stumble over it and feels it is a big concern for them can act upon it. We once fixed even an issue from Tycho 0.25 that way…