Skip to content

test(proto): Add regression test from scenario that lead to infinite loss timer loop#562

Draft
matheus23 wants to merge 1 commit intomainfrom
matheus23/infinite-loop
Draft

test(proto): Add regression test from scenario that lead to infinite loss timer loop#562
matheus23 wants to merge 1 commit intomainfrom
matheus23/infinite-loop

Conversation

@matheus23
Copy link
Copy Markdown
Member

Description

For now just an added regression test that reproduces a pretty bad scenario where we start to hot-loop on the loss detection timer timing out and us re-setting it to a value in the past (and thus immediately-retriggering it) indefinitely.

@matheus23 matheus23 self-assigned this 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/562/docs/noq/

Last updated: 2026-04-02T12:47:47Z

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Performance Comparison Report

e56b56dace089014ac30f0bffb8ff478a94150b6 - artifacts

Raw Benchmarks (localhost)

Scenario noq upstream Delta CPU (avg/max)
large-single 5842.7 Mbps 8023.0 Mbps -27.2% 96.4% / 98.2%
medium-concurrent 5837.5 Mbps 7616.2 Mbps -23.4% 95.8% / 97.6%
medium-single 3875.4 Mbps 4592.6 Mbps -15.6% 95.5% / 97.9%
small-concurrent 4051.7 Mbps 5190.3 Mbps -21.9% 97.0% / 99.6%
small-single 3629.4 Mbps 4677.2 Mbps -22.4% 96.0% / 98.5%

Netsim Benchmarks (network simulation)

Condition noq upstream Delta
ideal N/A 4036.8 Mbps N/A
lan N/A 810.4 Mbps N/A
lossy N/A 55.9 Mbps N/A
wan N/A 83.8 Mbps N/A

Summary

noq is 22.8% slower on average

@n0bot n0bot bot added this to iroh Apr 2, 2026
@github-project-automation github-project-automation bot moved this to 🚑 Needs Triage 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: 🚑 Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant