cloudflare / cloudflare/worker-speedtest-template

Continue the latency measurements while up/downloads are running

Open
#13 4 comments 18 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
218
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Having another speedtest that also measures latency and jitter is great! However, the way the test is currently setup, where it only runs the latency test before the download/upload tests are started, misses an important metric for connection performance: Bufferbloat, or excess latency under load (see https://en.wikipedia.org/wiki/Bufferbloat and https://www.bufferbloat.net/projects/bloat/wiki/Introduction/ for details, ).

So please consider extending the test to keep the latency measurements running during the throughput tests, and report the latency added relative to the baseline. See https://www.dslreports.com/speedtest/results/bufferbloat for the aggregate results of a speedtest that does this right.

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Read the current speedtest flow to find where baseline latency is measured and where download/upload tests begin, then determine how measurements can continue during both throughput tests. Done means reporting latency added relative to the baseline, including jitter under load.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.