Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Transfer size based speed test #41

Open
yannart opened this issue Aug 23, 2021 · 1 comment
Open

Transfer size based speed test #41

yannart opened this issue Aug 23, 2021 · 1 comment

Comments

@yannart
Copy link

yannart commented Aug 23, 2021

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!

@maddie
Copy link
Collaborator

maddie commented Sep 17, 2021

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!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants