Skip to content
This repository was archived by the owner on Jan 16, 2020. It is now read-only.
This repository was archived by the owner on Jan 16, 2020. It is now read-only.

Http download / upload "tuning" #113

Description

@zpeters

Currently the size of download and upload data to test is geared towards my personal internet connection. It runs fairly consistently when benchmarked against the speedtest official website. I believe this is due to the fact it is reaching the peak upload and download speeds. If there is too little data being downloaded or uploaded you never reach peak speeds, if there is too much it just wastes bandwidth.
in Branch v2, speedtest.go there are some hand entered download and upload sizes

downloadBytes := []int{5000, 10000, 53725, 71582, 73434, 80026, 121474, 1000000, 2000000}
uploadBytes := []int{5000, 10000, 53725, 71582, 73434, 80026, 121474, 1000000}

i believe what we'll need to do is create some dynamic tuning to determine what these rates need to be on-the-fly instead of dynamically.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions