netspeedtest

command module
v0.0.0-...-e48efbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

README

netspeedtest

在线测网速工具

运行环境要求

  • golang: version go1.14.2
  • Google Chrome 浏览器

启动程序

  1. 运行 run.bat 脚本,启动监听服务器

  2. 在Chrome浏览器中打开网址 http://localhost:8080/

    • 打开浏览器的开发人员工具

    • 切换到网络选项卡,找到网速模拟选项

      测速效果

    • 最新版本的Chrome浏览器默认内置 Fast 3G, Slow 3G, Offline,可以选择进行体验

    • 点击 Custom - Add 可以自定义模拟网速

      • 输入框速率单位为:Kbps

      • 计算公式:目标带宽Mbps*1024,建议差异化设置上下行带宽进行体验

      • 如图示,模拟30Mbps带宽,设定全速率下行,50%速率上行

        测速效果

效果演示

测速效果

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package speedtest The package implements the function of testing the network speed from the client to the server
Package speedtest The package implements the function of testing the network speed from the client to the server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL