fix(ndt7-protocol.md): clarify test "runtime" concept#426
Merged
bassosimone merged 4 commits intomainfrom Feb 27, 2026
Merged
Conversation
Existing historical clients (e.g., the minimal JavaScript client and the minimal Go client) did not have a consistent definition of the runtime, with the JavaScript client erring on the side of including the TCP+TLS+WebSocket handshake time and the Go client, instead, erring on the side of not including it. This diff clarifies the matter. After a conversation with @robertodauria, and taking into account m-lab/ndt7-js#111 and m-lab/msak-js#23, we determined that it is probably better to adopt the behavior originally implemented by the minimal Go client. The rationale for doing this is fairness. The original reason for killing a test unconditionally after ten seconds in JavaScript was grounded in UX concerns (do not keep the user waiting for more than 20 seconds overall). However, with high RTTs, this also means providing a less useful overall goodput estimate. To remediate this, we allow the client to run for more time. Refer to the aforementioned pull requests for a more-in-depth analysis of this behavior, which helps reconstructing the chain of thoughts that led us to implement this spec change. Since this diff is a spec clarification that correctly defines the concept of runtime, I am opting to bump the minor version of the spec.
robertodauria
approved these changes
Feb 27, 2026
Member
Author
|
Note that |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Existing historical clients (e.g., the minimal JavaScript client and the minimal Go client) did not have a consistent definition of the runtime, with the JavaScript client erring on the side of including the TCP+TLS+WebSocket handshake time and the Go client, instead, erring on the side of not including it.
This diff clarifies the matter. After a conversation with @robertodauria, and taking into account m-lab/ndt7-js#111 and m-lab/msak-js#23, we determined that it is probably better to adopt the behavior originally implemented by the minimal Go client.
The rationale for doing this is fairness. The original reason for killing a test unconditionally after ten seconds in JavaScript was grounded in UX concerns (do not keep the user waiting for more than 20 seconds overall). However, with high RTTs, this also means providing a less useful overall goodput estimate. To remediate this, we allow the client to run for more time.
Refer to the aforementioned pull requests for a more-in-depth analysis of this behavior, which helps reconstructing the chain of thoughts that led us to implement this spec change.
Since this diff is a spec clarification that correctly defines the concept of runtime, I am opting to bump the minor version of the spec.
This change is