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

The output of the official speedtest.net cli contains Packet Loss, is there a corresponding output for this project? #124

Closed
spiritLHLS opened this issue Apr 1, 2023 · 2 comments Β· Fixed by #196

Comments

@spiritLHLS
Copy link
Contributor


    😊 speedtest-go v1.6.0 @showwin 😊

βœ“ ISP: 114.116.111.1 (China Unicom) [34.7732, 113.722] 
βœ“ Found 20 Public Servers

βœ“ Test Server: [25858] 619.03km Beijing (China) by China Mobile Group Beijing Co.Ltd
βœ“ Latency: 4.46569ms Jitter: 73.696Β΅s Min: 4.388614ms Max: 4.622087ms
βœ“ Download: 81.04Mbps (used: 96.61MB)
βœ“ Upload: 1.53Mbps (used: 1.83MB)

   Speedtest by Ookla

      Server: Unicom - Shenyang (id: 37235)
         ISP: Interserver
Idle Latency:   261.66 ms   (jitter: 0.28ms, low: 261.54ms, high: 262.36ms)
    Download:     7.87 Mbps (data used: 12.5 MB)                                                   
                383.41 ms   (jitter: 80.58ms, low: 255.74ms, high: 511.24ms)
      Upload:     3.24 Mbps (data used: 4.4 MB)                                                   
                431.47 ms   (jitter: 84.31ms, low: 263.31ms, high: 1440.69ms)
 Packet Loss:     0.0%
  Result URL: https://www.speedtest.net/result/c/f3e06f53-918b-4172-9d35-f77a08a0251e

The output of the official speedtest.net cli contains Packet Loss, is there a corresponding output for this project?

@r3inbowari
Copy link
Collaborator

Hi,@spiritLHLS! It is not implemented in speedtest-go now. In fact, the official speedtest uses tcp socket for measurement (using raw tcp to detect packet loss in privileged mode) instead of http request. This is achievable, and we known the tcp socket protocol details.

But socket protocols do not seem to be public content, is it against official policy to use them hastily?πŸ€—

@spiritLHLS
Copy link
Contributor Author

I am not very clear about the specific terms, just found that the display is different to ask about it, it does not matter if it is not displayed

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

Successfully merging a pull request may close this issue.

2 participants