speedtest-logger
uses speedtest.net's CLI to run speedtests from a host machine regularly, logging them to a CSV. This was created initially to keep a log of bad internet speeds at my home, to provide as evidence to my ISP.
- clone this repo
- install
pm2
on your OS withnpm install pm2 -g
oryarn global add pm2
. This will daemonize this program, and keep it running in the background of your OS - install with
npm install
oryarn install
- run with
pm2 start index.js
. This will keep the tracker running in the background
In index.js
, there are a few constants defined:
outputFileName
is where your test results will be outputted (as a .csv file)testFrequencyInSeconds
is how often this test is ran, in seconds.
The csv file contains 3 fields in each row:
- the date and time this test was completed
- download speed
- upload speed
- Speedtest results are heavily dependent on your network setup. To get consistent results, you should run this from a machine plugged directly into your network, rather than over wifi.