Skip to content

feat(proto): add lost_packets and lost_bytes to the ConnectionStats#560

Merged
flub merged 1 commit intomainfrom
flub/more-conn-stats
Apr 2, 2026
Merged

feat(proto): add lost_packets and lost_bytes to the ConnectionStats#560
flub merged 1 commit intomainfrom
flub/more-conn-stats

Conversation

@flub
Copy link
Copy Markdown
Collaborator

@flub flub commented Apr 2, 2026

Description

These fields probably also make sense to track connection-wide.

Fixes #559.

Breaking Changes

n/a

Notes & open questions

I'm not sure adding mtu probes makes sense, so leaving that out for now.

These fields probably also make sense to track connection-wide.

Fixes #559.
@flub flub requested a review from a team April 2, 2026 12:23
@flub flub added this to iroh Apr 2, 2026
@github-project-automation github-project-automation bot moved this to 🚑 Needs Triage in iroh Apr 2, 2026
@flub flub moved this from 🚑 Needs Triage to 👀 In review in iroh Apr 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/noq/pr/560/docs/noq/

Last updated: 2026-04-02T12:25:49Z

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Performance Comparison Report

b14579ff3ea8d7827257ecdc5fbbccbecc182e0f - artifacts

Raw Benchmarks (localhost)

Scenario noq upstream Delta CPU (avg/max)
large-single 5911.8 Mbps 7881.7 Mbps -25.0% 95.8% / 107.0%
medium-concurrent 5535.7 Mbps 7688.0 Mbps -28.0% 93.4% / 106.0%
medium-single 3728.5 Mbps 4692.3 Mbps -20.5% 97.2% / 162.0%
small-concurrent 3956.3 Mbps 5249.1 Mbps -24.6% 90.4% / 98.8%
small-single 3596.4 Mbps 4742.4 Mbps -24.2% 95.6% / 110.0%

Netsim Benchmarks (network simulation)

Condition noq upstream Delta
ideal N/A 4036.9 Mbps N/A
lan N/A 810.3 Mbps N/A
lossy N/A 69.8 Mbps N/A
wan N/A 83.8 Mbps N/A

Summary

noq is 24.9% slower on average

@flub flub added this pull request to the merge queue Apr 2, 2026
Merged via the queue into main with commit ab042ea Apr 2, 2026
36 checks passed
@flub flub deleted the flub/more-conn-stats branch April 2, 2026 15:30
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in iroh Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

feature request: add loss_packets and lost_bytes fields to noq::ConnectionStats

2 participants