librespeed / librespeed/speedtest-cli

Transfer size based speed test

Open
#41 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.