aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/throughput.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-04 23:32:40 +0100
committertv <tv@krebsco.de>2026-11-04 23:32:40 +0100
commitd9c61bd526fd83165d583cb5d75be66385611be4 (patch)
tree639727ed0fd624b2607b4728995aca1edafaa054 /src/swarm/throughput.rs
parent0203eeda95d31900dead926267e69575735e78c4 (diff)
time blob messages
Diffstat (limited to 'src/swarm/throughput.rs')
-rw-r--r--src/swarm/throughput.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/swarm/throughput.rs b/src/swarm/throughput.rs
index 479239a..ec50693 100644
--- a/src/swarm/throughput.rs
+++ b/src/swarm/throughput.rs
@@ -1,8 +1,8 @@
//! Sync throughput with peers, measured from sync exchanges we have anyway: from sending
//! a sync message until the peer's answer arrives, the sync bytes that went either way
//! with that peer; and from a large message we awaited nothing for (one taken as
-//! delivered, which gets no answer to time), how long it took to come (`swarm::hop`). No
-//! transfers of our own.
+//! delivered, which gets no answer to time), and from a blob chunk (`swarm::blob`), how
+//! long it took to come (`swarm::hop`). No transfers of our own.
//!
//! Only exchanges of at least `MIN_BYTES` count; smaller ones measure the round trip,
//! not the throughput. The round trip (`swarm::rtt`) is taken off the elapsed time, but