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

Results from library are different from given speedtest result URL #125

Open
rdsubhas opened this issue Nov 9, 2021 · 4 comments
Open

Comments

@rdsubhas
Copy link

rdsubhas commented Nov 9, 2021

I've tried this multiple times, but the download and upload bandwidth is looks off from what's shown in speedtest.net URL.

Results from library

{
   ...
   "ping":{
      "jitter":3.207,
      "latency":7.961
   },
   "download":{
      "bandwidth":9837836,
      "bytes":143185152,
      "elapsed":15003
   },
   "upload":{
      "bandwidth":1834040,
      "bytes":25181952,
      "elapsed":15014
   },
   "result":{
      "id":"ff4d4498-142c-4fac-8d20-6e6ad8916f81",
      "url":"https://www.speedtest.net/result/c/ff4d4498-142c-4fac-8d20-6e6ad8916f81"
   }
   ...
}

Results from the URL linked

https://www.speedtest.net/result/c/ff4d4498-142c-4fac-8d20-6e6ad8916f81

image

Discrepancy

  • Download Bandwidth: Library: 9837836, Speedtest.net results URL: 78.70 Mbps
  • Upload Bandwidth: Library: 1834040, Speedtest.net results URL: 14.67 Mbps

Only the ping number matches. Download & upload speeds look very different.

@rdsubhas rdsubhas changed the title Results from library are completely different from speedtest result URL Results from library are completely different from given speedtest result URL Nov 9, 2021
@rdsubhas
Copy link
Author

rdsubhas commented Nov 9, 2021

Dividing by 125004 consistently matches the result with what's shown in speedtest.net results URL. I've checked the project README, but I'm not sure why this is the case. Any explanation would be very helpful. Thanks!

@rdsubhas rdsubhas changed the title Results from library are completely different from given speedtest result URL Results from library are different from given speedtest result URL Nov 10, 2021
@tamaker
Copy link

tamaker commented Jun 11, 2022

same here

@fated-x
Copy link

fated-x commented Sep 27, 2022

I am experiencing the same data mismatch between the url results and the JSON data itself.

@dluccajosetw
Copy link

Its not a mismatch, the speedtest web will show you the result in Megabits, not Megabtyes. When you convert 9837836 bytes to Mb you will obtain 78.70 Mb

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

No branches or pull requests

4 participants