librespeed / librespeed/speedtest-cli
Transfer size based speed test
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 845
- Forks
- 90
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 3
Description
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!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the CLI handling for --chunks, --upload-size, and --duration, then trace how the download and upload examples are currently bounded. Done means --chunks and --upload-size can take precedence over duration and both size-based download and upload tests stop at the requested transfer size.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100