Open esamo opened 5 years ago
Howdy @esamo - thanks for the kudos! I'm not sure what is causing the slowness for your environment, but it could be something with a proxy it is working through. It's hard to say, I typically find the command line much much faster than the website. Due keep in mind it would be determined by a few factors:
As far as update - The second item is called Package Indexing - something we have on our roadmap. We are quite familiar with other platforms and package indexes have been on my list for a few years.
I'm going to put this into _Triaging, and we'll visit back to see if you determined what the network issue was along the route for choco search.
Actually, are you calling choco search somefilter
or simply choco search
? The latter would be returning results for all 6K packages, so it's gonna be a bit slow for sure. It doesn't do paging by default.
@esamo also, check out the comments over here on IPv6 causing network slowness - https://github.com/chocolatey/choco/issues/1748
Ok so my env is:
IPv4
No proxy
No antivirus other than Windows Defender
Sources - default ones
Using choco search google
Looks to me this is about data size. It's faster on a better connection. These are just lines of text though, so I'm confused.
I did some testing. Why 210 package names (12 kB of text) are using 13 Mb/s for about 1s or 5Mb/s for 4s?
@esamo upgrade to Chocolatey 0.10.13 and see if that improves your results.
Hi there! Nice job on the tool, much appreciated!
I can't leave it though without saying that
cmd.exe choco search
works super slow compared to searching on the websitehttps://chocolatey.org/packages
. It should be faster as it does not involve browser, images and a lot of stuff, hence I don't understand at all why is this so slow. It takes 8 seconds to fetch packages by querygoogle
in command line and it takes almost no time at all on the website, it's uncomparable.Another thing is that all the packages could be downloaded with
update
command exactly like it happens in linux package manager and then search is performed on locally stored index.Chocolatey v0.10.11 Windows 10 x64