sindresorhus/speed-test

Sometimes incorrect speed

johnmudd opened this issue · 8 comments

Any comment on the differences?

$ speed-test 
      Ping  6 ms
  Download  12.8 Mbps
    Upload  8371.5 Mbps
$
www.speedtest.net/
      Ping  60 ms
  Download  24 Mbps
    Upload  26 Mbps

Yea, I’d say upload like a maniac when using speed-test! Sindri has magic powers!

Some other people have seen this too, but I haven't been able to reproduce. This has to be fixed in the speedtest-net module which is what this module depends on to get the speed results.

I've opened an issue over there: ddsol/speedtest.net#11

Keeping this open for discovery, but please post your finding and continue the discussion over there.

Welp, from Europe (Paris more precisely) speed-test reports completely inaccurate results. I suspect it's trying to connect to an extremely far away node.

$ speed-test

      Ping   164 ms
  Download   4.7 Mbps
    Upload   7.3 Mbps

image

Confirmed by using --verbose:

      Ping   157 ms
  Download ⠴ 4.6 Mbps
    Upload

    Server   speedo.eltele.no
  Location   Alta (Norway)
  Distance   NaN km

@olivierlacan Did you just install it? If not, try reinstalling it completely, per ddsol/speedtest.net#11 (comment), this should be fixed by now.

@sindresorhus All good, thanks. Hadn't updated in a while I guess.

Every other speed test aligns with the theoretical speed I should be getting, namely 300Mb/s give or take .. However, speed-test shows a consistent speed of 45 Mb/s:

✝  ~  speed-test --verbose

Ping 67 ms
Download 42 Mbps
Upload 19 Mbps

Server speedtest1.citizens.coop
Location Floyd, VA (United States)
Distance 94 km

Compare to "fast" (the old one I used to use) :
✝  ~  fast

300 Mbps

+1, getting similarly wonky results

Nothing we can do about it here. This is just a wrapper around speed-test. This is the relevant discussion.