xh: Downloading is slow

Hey, cool tool. 😃

I noticed that downloading is pretty slow as compared to wget. For instance, on downloading a random large file, using ht -d I get 7-13MB/s on repeated tests while using wget I get a good 60MB/s (my full connection speed). Any idea?

Sorry I can’t be more specific but literally all I do is a multi-run test of a 2-5GB-sized file between wget and ht -d.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (3 by maintainers)

Most upvoted comments

xh v0.9.2 has been released which has a download speed comparable to wget 🎉

I think 8 MB/s is just within the ballpark of what the current implementation can manage. You only run into it if your connection is fast enough. It’s more of an upper cap than a constant slowdown.

I’ve had to test on a VPS before when my home connection didn’t cut it.