Transfer size based speed test
yannart opened this issue · 1 comments
Hi,
For my use case, I need to do upload and download speed tests based on a transfer size (a.k.a test with a specific number of bytes to be uploaded and downloaded). However, it seems that all the tests are duration-based instead.
For download, if there was a way to restrict the test to a specific number of chunks
that should do the job. For example:
librespeed-cl --no-upload --chunks 1
However, with the current implementation, the test continues until the duration is exceeded.
For upload, the issue is similar, the tests continue for the specified duration regardless of the upload-size
. For example:
librespeed-cli --no-download --upload-size 1024
Is there a way today to have the chunks
and upload-size
parameters taking preference over the duration
to achieve transfer size-based speed tests?
If not is that something you have planned to do or would accept contributions for?
Thanks!
Sorry for the late reply, been too busy IRL.
I don't have much time to figure out the best way to implement this atm, it would be great if you can submit a PR.
Thanks!