speedtest-go
speedtest-go copied to clipboard
Bits vs Bytes
Today I installed Speedtest-Go, but the displayed speed was inaccurate. It appeared that the script had mixed up bits and bytes, so I changed the divisor from 1000000 to 250000 (/8) to get more accurate numbers.
downloadSpeed/125000, uploadSpeed/125000
Has anyone else encountered this issue?
Here the complete script: https://pastebin.com/b2jTZz2y
Edit: Maybe it's the same issue as described here: https://github.com/showwin/speedtest-go/issues/109