Things become even more interesting when you move into a corporate network environment. There are plenty of variables that can influence a speed test, including Quality of Service (QoS), traffic shaping, WAN load balancing, proxy servers, antivirus software, browser configuration, roaming profiles, and endpoint security policies. Even seemingly insignificant hardware differences can matter. Are you using an SSD or mechanical hard drive? Is the computer connected through a docking station or USB network adapter? Is the wireless client roaming between access points? These are all legitimate troubleshooting considerations. This is also why ISP support technicians frequently ask customers to connect directly to their router using a wired Ethernet connection before running another test. Removing unnecessary variables makes the results much easier to interpret.
For my testing, I wanted to compare browser-based speed tests with a more controlled network throughput test using iperf3. Tools such as Speedtest.net and LibreSpeed run inside a browser and measure download and upload performance using their own testing methods. Depending on the implementation, the browser, JavaScript execution, memory usage, and endpoint resources can all influence the results. I also used a LibreSpeed PHP-based test script to create a controlled testing environment across different laptop models, browsers, and configurations. On the other hand, iperf3 is a dedicated network performance measurement tool that uses TCP or UDP traffic to measure throughput between two endpoints. Its standard tests use memory buffers rather than relying on ordinary file transfers, making it particularly useful when you want to investigate network performance without introducing a disk as the primary variable. Neither approach is automatically perfect, but using both can help narrow down where a performance limitation might exist.
The results from my testing demonstrated that different laptops, browsers, and configurations can produce noticeably different numbers, even when testing the same general network environment. Interestingly, iperf3 produced the most consistent results in my particular testing scenario. My recommendation is to run several tests rather than relying on a single result. I generally like to perform five tests, discard the highest and lowest readings, and average the remaining three. Keep the testing conditions consistent, including the destination server, connection type, and test duration. If you're using iperf3, remember that CPU utilization, TCP window sizes, parallel streams, and the capabilities of both endpoints can also influence the results. For example, a simple test can be performed by starting iperf3 -s on one computer and running iperf3 -c SERVER_IP on another. This gives you a useful starting point for measuring throughput across your network.
The important lesson here is that a speed test result is a measurement, not necessarily a diagnosis. If your browser-based test reports disappointing performance but iperf3 produces much better numbers across your local network, you have some additional troubleshooting to do before blaming the ISP. Conversely, if both tests are slow, investigate the network path, endpoint hardware, and available bandwidth. This is where tools such as Wireshark become particularly useful because you can examine TCP retransmissions, latency, packet loss, and other traffic characteristics to understand what is happening behind the numbers. My advice is simple: test, compare, document, and understand your results before making changes. A little lab work can save you from spending hours troubleshooting the wrong piece of equipment. After all, sometimes the network isn't slow... your test computer just needs a little coffee!

