Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@domcyrus
Copy link
Owner

  • Change sliding window from 5s to 10s for stable measurements
  • Increase max_samples from 100 to 20,000 to preserve full time window
  • Fix minimum time span threshold from 100ms to 1s for stability
  • Remove skip(1) bug that excluded first sample from calculations
  • Remove artificial decay logic causing rate drops during transfers
  • Add idle connection detection for proper zero-rate display
  • Update tests for 1s minimum requirement and add edge case coverage

- Change sliding window from 5s to 10s for stable measurements
- Increase max_samples from 100 to 20,000 to preserve full time window
- Fix minimum time span threshold from 100ms to 1s for stability
- Remove skip(1) bug that excluded first sample from calculations
- Remove artificial decay logic causing rate drops during transfers
- Add idle connection detection for proper zero-rate display
- Update tests for 1s minimum requirement and add edge case coverage
@domcyrus domcyrus merged commit fe7f694 into main Oct 25, 2025
4 checks passed
@domcyrus domcyrus deleted the fix/bandwidth-tracking-improvements branch October 25, 2025 16:27
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