ddsol / speedtest.net

node.js SpeedTest.net client module
MIT License
607 stars 126 forks source link

Not suitable for gigabit network. #92

Closed ozanyolyapar closed 4 years ago

ozanyolyapar commented 5 years ago

I ran it multiple times, showed me 1/4 of the current speed (250-290Mbit/s), where I could make over 980Mbit/s using the speedtest.net choosing the same server, as the script does.

marcuscraske commented 5 years ago

Unfortunately getting similar results.

With node: download=56.707 upload=31.828 ping=53.5 server=speedtest.clouvider.co.uk:8080

Actual speed-test.net (292 / 35, ping 21 ms): https://www.speedtest.net/result/8576277966.png

luigimannoni commented 4 years ago

Same here not having a gigabit connection. My top speed is 200mb/s but the package always detects around 70 to 90mb/s

ozanyolyapar commented 4 years ago

Meanwhile the project is no longer necessary, as ookla offers its own CLI solution. https://www.speedtest.net/apps/cli

luigimannoni commented 4 years ago

Though I'd still prefer to use a node module rather than installing a third party packages in environments where I do not have a sudo access.

ozanyolyapar commented 4 years ago

But as we can see, this package does not meet the requirements. It is not able to provide usable/reliable information about the only use case it is intended for. Also, I cannot imagine a single case where a speed test should be used in a limited or professional environment. I needed it for my homelab to monitor speed permanently, where a RasPi 4 is more than sufficient and dispensable. So this package is definitely out of question for me. Furthermore I am afraid that nodejs causes the bottleneck and it is not in the hands of the developer.

ddsol commented 4 years ago

The 2.0.0 version uses the Ookla/speedtest.net CLI directly.