ndfred / iperf-ios

iPerf 3 library and app for iOS
Other
186 stars 26 forks source link

Look into the test data the client is sending to the server #23

Open ndfred opened 5 years ago

ndfred commented 5 years ago

Looking at send_results we can see that the client will dump a lot of useful information to the server:

{ "cpu_util_total": 18.970173953262933, "cpu_util_user": 3.7781612782127576, "cpu_util_system": 15.191864176430617, "sender_has_retransmits": -1, "streams": [{ "id": 1, "bytes": 155892352, "retransmits": -1, "jitter": 0, "errors": 0, "packets": 0, "start_time": 0, "end_time": 10.000098943710327 }, { "id": 3, "bytes": 140762448, "retransmits": -1, "jitter": 0, "errors": 0, "packets": 0, "start_time": 0, "end_time": 10.000101804733276 }, { "id": 4, "bytes": 153085904, "retransmits": -1, "jitter": 0, "errors": 0, "packets": 0, "start_time": 0, "end_time": 10.000101804733276 }, { "id": 5, "bytes": 108328960, "retransmits": -1, "jitter": 0, "errors": 0, "packets": 0, "start_time": 0, "end_time": 10.000102996826172 }, { "id": 6, "bytes": 146596688, "retransmits": -1, "jitter": 0, "errors": 0, "packets": 0, "start_time": 0, "end_time": 10.000102996826172 }] }

Maybe we can pick some of these up to provide better data in the UI. For reference, this is what the same completed test looked like in the app:

Test