ターミナルでスピードテストする
Category : Python
Pythonにはスピードテストをコマンド1つでできるパッケージが存在します。 今回はPython3で実行しましたが、2系でも実行可能です。
インストールはpipで行います。
pip install speedtest-cli
そして実行
speedtest
快適な速さです。
Retrieving speedtest.net configuration...Testing from ARTERIA Networks Corporation (xxx.xxx.xxx.xxx)...Retrieving speedtest.net server list...Selecting best server based on ping...Hosted by xxxx xxxxxx (xxxxx) [2.57 km]: 5.019 msTesting download speed................................................................................Download: 103.44 Mbit/sTesting upload speed......................................................................................................Upload: 106.19 Mbit/s