Skip to content

apollo_network_benchmark: fixed theoretical throughput metric in rr mode - #13403

Closed
sirandreww-starkware wants to merge 1 commit into
02-18-apollo_network_benchmark_moved_peerid_creation_filesfrom
03-22-apollo_network_benchmark_fixed_theoretical_throughput_metric_in_rr_mode
Closed

sirandreww-starkware wants to merge 1 commit into
02-18-apollo_network_benchmark_moved_peerid_creation_filesfrom
03-22-apollo_network_benchmark_fixed_theoretical_throughput_metric_in_rr_mode

Conversation

@sirandreww-starkware

@sirandreww-starkware sirandreww-starkware commented Mar 22, 2026 •

Copy link
Copy Markdown
Contributor

Note

Low Risk
Small, localized change to benchmark metrics reporting with no impact on message sending/receiving behavior or protocol logic.

Overview
Fixes broadcast_message_theoretical_throughput reporting so it only reflects actual broadcast activity.

send_stress_test_messages now updates theoretical heartbeat/throughput metrics only when the node is actively broadcasting, and explicitly sets throughput to 0.0 on non-broadcast rounds (e.g., in Mode::RoundRobin) to avoid overstating capacity.

Written by Cursor Bugbot for commit 698f8e1. This will update automatically on new commits. Configure here.

sirandreww-starkware commented Mar 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

@sirandreww-starkware
sirandreww-starkware marked this pull request as ready for review March 22, 2026 17:11
@sirandreww-starkware
sirandreww-starkware force-pushed the 03-22-apollo_network_benchmark_fixed_theoretical_throughput_metric_in_rr_mode branch from f8bd165 to 698f8e1 Compare March 30, 2026 11:08
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants