showwin/speedtest-go

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

spiritLHLS opened this issue ยท 2 comments


    ๐Ÿ˜Š 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?

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?๐Ÿค—

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