-
Notifications
You must be signed in to change notification settings - Fork 65
apollo_network_benchmark: added message receiving task #10625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apollo_network_benchmark: added message receiving task #10625
Conversation
ee54a68 to
59af4d3
Compare
883aea6 to
07a1668
Compare
59af4d3 to
9731b32
Compare
07a1668 to
a294977
Compare
9731b32 to
21854c2
Compare
0244e8b to
0f096a6
Compare
21854c2 to
9a27d08
Compare
noamsp-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@noamsp-starkware reviewed all commit messages.
Reviewable status: 0 of 3 files reviewed, 2 unresolved discussions (waiting on @sirandreww-starkware)
crates/apollo_network_benchmark/src/bin/broadcast_network_stress_test_node/handlers.rs line 16 at r1 (raw file):
Ok(duration) => duration.as_secs_f64(), Err(_) => { let negative_duration = start_time.duration_since(end_time).unwrap();
You can extract the duration from the error returned.
crates/apollo_network_benchmark/src/bin/broadcast_network_stress_test_node/handlers.rs line 16 at r1 (raw file):
Ok(duration) => duration.as_secs_f64(), Err(_) => { let negative_duration = start_time.duration_since(end_time).unwrap();
Don't we want to panic here? It seems to me like we could end up with false metrics if we just sweep the problem under the carpet like this.
0f096a6 to
5c03c49
Compare
9a27d08 to
79356bf
Compare
5c03c49 to
ddb831a
Compare
79356bf to
92ff2e3
Compare
sirandreww-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sirandreww-starkware made 2 comments.
Reviewable status: 0 of 3 files reviewed, 2 unresolved discussions (waiting on @noamsp-starkware and @sirandreww-starkware).
crates/apollo_network_benchmark/src/bin/broadcast_network_stress_test_node/handlers.rs line 16 at r1 (raw file):
Previously, noamsp-starkware wrote…
You can extract the duration from the error returned.
I went with panicking when this happens instead.
crates/apollo_network_benchmark/src/bin/broadcast_network_stress_test_node/handlers.rs line 16 at r1 (raw file):
Previously, noamsp-starkware wrote…
Don't we want to panic here? It seems to me like we could end up with false metrics if we just sweep the problem under the carpet like this.
Done.
92ff2e3 to
2bad837
Compare
ddb831a to
8253ccc
Compare
noamsp-starkware
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@noamsp-starkware reviewed 3 files and all commit messages, made 1 comment, and resolved 2 discussions.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @sirandreww-starkware).
2bad837 to
45412de
Compare
8253ccc to
5b995ca
Compare
Merge activity
|

No description provided.