gradle-doctor icon indicating copy to clipboard operation
gradle-doctor copied to clipboard

Could the slow download info point the url to blame?

Open LouisCAD opened this issue 5 years ago • 1 comments

Hello, I got this while running a Gradle sync:

=============================== Gradle Doctor Prescriptions ============================================
| Detected a slow download speed downloading from External Repos.                                      |
| 1.29 MB downloaded in 3.99 s                                                                         |
| Total speed from External Repos = 0.33 MB/s                                                          |
========================================================================================================

Indeed, its slow for my fiber connection and closeby Wi-Fi, but I don't know which url was slow. Is there a way that this plugin could report the affected urls to allow for analysis?

LouisCAD avatar Sep 13 '20 12:09 LouisCAD

This is a good feature request. In general the Gradle Doctor is more like a hint to check the build scan for more info. (Same with the garbage collection warnings. In this case you can check the build scan for more info and to see which specific downloads were slow. See the download tab under the performance tab. It's a bit tricky to pin this down to one specific repository since you are likely downloading from multiple repositories at the same time in parallel.

runningcode avatar Sep 14 '20 06:09 runningcode