-
Notifications
You must be signed in to change notification settings - Fork 1k
Feedback: things take a long time #131
Comments
🎉 🎉 🎉 🎉 🎉 🎉 🎉 totally, got it :) thanks for the feedback!!
Yep, and this is a one-time cost (unless you flush out the cache dir) - basically unavoidable.
Only two things that should be happening there are, yes, getting the latest version info for all your deps, and In general, we have a LOT of headroom for performance improvements. Some more details in #67, but we're moving towards some caching that, assuming warm caches, should have this command below 1s. If current design plans hold, then I'd expect all such caches would be warmed by your first run of the tool. We might also add some options that allow you to omit that |
It could be more verbose, specially in the alpha stage. I thought it freezed on the first run. |
@flibustenet did you run with |
This is repeated feedback. I think we need to have |
That seems fair to me. It does feel like other go tooling generally eschews such informational output. But, as @flibustenet pointed out, this is alpha - I think we can not worry about that right now. |
I think it's a passing phase. At the moment no one knows what to expect. Once the tool is established and its operation generally understood it probably makes sense to adopt a less verbose default. |
I was so excited i didn't try -v and -h ! (to put in the readme ?) #62 |
Is If it was possible to make it significantly faster, I don't think the feedback (#62) without |
First runs are often quite slow, as there's a lot of initial cloning/bzr branching/whatever to do. Not much we'll really be able to do there, ever. But subsequent |
Couldn't the clones be run concurrently (if they are not yet)? That would certainly speed things up (don't really know if you can clone two repos at the sime time, though). |
Yeah, they're already concurrent. No wins to be had there, unfortunately. I'll point to #67 again - it really lays out most of the paths forward here :) |
closing in favor of #289 |
I've been playing with this for literally less than ten minutes, so take this with a huge grain of salt. And please temper any criticism with a background of YAY THIS IS HAPPENING I'M SO EXCITED!
The first thing that strikes me when trying it out is "wow, this is slow". I suspect this is because there are a lot of network operations, and there is perhaps limited or no caching yet? I'm on a fast fiber connection so it's not that my internet is really crap. Starting out on Syncthing, I saw:
dep init
- the first command I ran. I would have expected this to be instantaneous:ish a lagit init
, but it took almost 30 seconds. Or at least it felt like an eternity, I didn'ttime
it.dep ensure -update
- failed the first time due to a constraint error. This was due to repos in my GOPATH having branches that didn't exist upstream. I fixed that in the manifest.json. Second run took quite a while, but I can expect this as I suppose it's checking out repos.I then entered something of a loop playing with
dep ensure $package@$someversion
and doingdep status
to check the result. Eachdep status
invocation takes 23 seconds for me. Maybe this is thelatest
fetching? But it quickly got repetitive...I suspect that my dependency graph is quite small compared to many out there. :)
The text was updated successfully, but these errors were encountered: