Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hget way slower than WGet #18

Open
Salamandar opened this issue Dec 7, 2016 · 2 comments · May be fixed by #23
Open

Hget way slower than WGet #18

Salamandar opened this issue Dec 7, 2016 · 2 comments · May be fixed by #23

Comments

@Salamandar
Copy link

Salamandar commented Dec 7, 2016

Just tried that :

 ❯ time wget https://storage.googleapis.com/golang/go1.6.3.darwin-amd64.pkg                                            [14:57:13]
--2016-12-07 14:57:13--  https://storage.googleapis.com/golang/go1.6.3.darwin-amd64.pkg
Résolution de storage.googleapis.com (storage.googleapis.com)… 216.58.208.208, 2a00:1450:4007:80d::2010
Connexion à storage.googleapis.com (storage.googleapis.com)|216.58.208.208|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 84842135 (81M) [application/octet-stream]
Sauvegarde en : « go1.6.3.darwin-amd64.pkg.2 »

go1.6.3.darwin-amd64.pkg.2       100%[========================================================>]  80,91M  11,0MB/s    in 8,0s    

2016-12-07 14:57:21 (10,2 MB/s) — « go1.6.3.darwin-amd64.pkg.2 » sauvegardé [84842135/84842135]

# Time : 8,387 total

 ❯ time hget https://storage.googleapis.com/golang/go1.6.3.darwin-amd64.pkg                                            [14:57:33]
INFO: Resolve ip: 216.58.213.144
INFO: Start download with 4 connections 
INFO: Download target size: 80.9 MB
go1.6.3.darwin-amd64.pkg-0 20.13 MB / 20.23 MB [======================================================================]  99.54% 0s
go1.6.3.darwin-amd64.pkg-1 19.94 MB / 20.23 MB [======================================================================]  98.58% 0s
go1.6.3.darwin-amd64.pkg-2 20.23 MB / 20.23 MB [=====================================================================] 100.00% 13s
go1.6.3.darwin-amd64.pkg-3 20.19 MB / 20.23 MB [======================================================================]  99.79% 0s
INFO: Start joining 
Joining 4 / 4 [=======================================================================================================] 100.00% 0s

# Time : 13,894 total

 ❯ time hget -n 1 https://storage.googleapis.com/golang/go1.6.3.darwin-amd64.pkg                                       [14:58:38]
WARN: Downloading task already exist, remove first 
INFO: Resolve ip: 216.58.213.144
INFO: Start download with 1 connections 
INFO: Download target size: 80.9 MB
go1.6.3.darwin-amd64.pkg-0 80.77 MB / 80.91 MB [======================================================================]  99.83% 0s
INFO: Start joining 
Joining 1 / 1 [=======================================================================================================] 100.00% 0s

# Time : 16,535 total

@Salamandar Salamandar changed the title Hget way slower than Hget way slower than WGet Dec 7, 2016
@huydx
Copy link
Owner

huydx commented Dec 14, 2016

for one single connection (which is not support range download), may be yes.

@Salamandar
Copy link
Author

It is here still slower with 4 connections…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants