You can download iperf version 2.0.5 for Windows that I compiled from source or continue reading if you want to learn how to compile your own copy. There are some older versions of iperf compiled for Windows available on the web but I couldn’t find a working link for iperf version 2.0.5 so I decided to try compiling it using Cygwin and it worked!
It can generate TCP or UDP data streams for measuring network throughput and can also be used for testing network latency and jitter. Iperf is a very versatile open source program that can be used for network performance testing.