Here is an example. will work on any platform https://www.bleuio.com/blog/ble-usb-dongle-throughput-measurement/