'download feedback' causes significat slowndown

Description

When running in default configuration, the lines of feedback after paxrovision displays "Downloading bundles..." take many seconds to appear. Enabling the --noDownloadFeedback option causes this part of the startup to complete almost instantaneously on my machine.

e.g. with feedback,

...
-> mvn:org.osgi/org.osgi.core/4.0 : 58107 bytes @ [ 11621kBps ]
-> mvn:org.springframework/spring-core/2.5.6 : 285491 bytes @ [ 3358kBps ]
-> mvn:org.springframework/spring-context/2.5.6 : 476940 bytes @ [ 2944kBps ]
-> mvn:org.springframework/spring-beans/2.5.6 : 488282 bytes @ [ 3616kBps ]
...

without feedback,

...
-> mvn:org.osgi/org.osgi.core/4.0 : downloading...
-> mvn:org.osgi/org.osgi.core/4.0 : 58107 bytes @ [ 29053kBps ]
-> mvn:org.springframework/spring-core/2.5.6 : downloading...
-> mvn:org.springframework/spring-core/2.5.6 : 285491 bytes @ [ 31721kBps ]
-> mvn:org.springframework/spring-context/2.5.6 : downloading...
-> mvn:org.springframework/spring-context/2.5.6 : 476940 bytes @ [ 31796kBps ]
-> mvn:org.springframework/spring-beans/2.5.6 : downloading...
-> mvn:org.springframework/spring-beans/2.5.6 : 488282 bytes @ [ 34877kBps ]
...

Note that without feedback, the reported 'download' speed (artifacts are already on the local system) is often an order of magnitude greater.

Maybe the feedback messages could be limited to one every few hundred milliseconds, so that console output doesn't become a bottleneck?

Environment

None

Status

Assignee

Alin Dreghiciu

Reporter

David Holroyd

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure