Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(perf): expose single latency measurement #207

Merged
merged 11 commits into from
Jun 26, 2023

Conversation

mxinden
Copy link
Member

@mxinden mxinden commented Jun 23, 2023

Instead of exposing the time to establish a connection, the time to upload the bytes and the time to download the bytes, expose a single time including all three.

The rational here is, that differentiation of the three is flawed. E.g. when does one stop the upload timer and start the download timer? When the last byte is sent? When the last byte is flushed? When the first byte is received?

See #184 (review) for past discussion.

I will update the dashboard once this is merged.

Blocked on libp2p/rust-libp2p#4105 and quic-go/perf#12.

@mxinden mxinden requested a review from MarcoPolo June 23, 2023 11:02
@mxinden mxinden mentioned this pull request Jun 23, 2023
26 tasks
Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, module the updated quic-go/perf commit hash. Feel free to merge once you've made that change.

@@ -10,7 +10,7 @@ perf-${commitSha}: perf-${commitSha}.zip
unzip -o perf-${commitSha}.zip

perf-${commitSha}.zip:
wget -O $@ "https://github.com/quic-go/perf/archive/${commitSha}.zip"
wget -O $@ "https://github.com/mxinden/perf/archive/${commitSha}.zip"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just merged quic-go/perf#12, let's update the PR here.

@mxinden mxinden merged commit cdf7820 into master Jun 26, 2023
@mxinden mxinden deleted the perf-single-measurement branch June 26, 2023 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants