You know sometimes, when you're not quite sure if your network is playing up and you need a handy tool to test it? Sure, you can use a website, like `speedtest.net, but to do so means downloading, frontend code, run adverts and whatever tracking tools are hidden in the background. This takes time and resources which, if you're trying to work out if you have a network problem and you can't test it because all this client code downloading is getting in the way, is a pita.
In all honesty, at the moment, this was more about me playing around with UDP. Time will tell if this turns out to be actually useful.
Speedtrap is a simple Go-based network speed test utility inspired by speedtest.net, but without all the additional baggage.
It measures round-trip time (RTT), packet loss, and transfer rates between a client and a server using UDP packets.
- UDP echo server that responds to fixed-size packets.
- Client that sends UDP packets at a configurable rate and size.
- Live progress output (packets sent, received, and loss %).
- Summary report (min/avg/max RTT, packet loss).
- Can run as a single binary (
--mode=serveror--mode=client).