-
Notifications
You must be signed in to change notification settings - Fork 133
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
feat: iroh-perf #2186
feat: iroh-perf #2186
Conversation
iroh-net/bench/Cargo.toml
Outdated
@@ -1,6 +1,6 @@ | |||
[package] | |||
name = "iroh-net-bench" | |||
version = "0.16.0" | |||
version = "0.13.0" |
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.
why?
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.
bad merge
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.
overall looks good, can you recheck this is all checked in CI to keep working please?
iroh-net/bench/src/quinn.rs
Outdated
.context("connecting") | ||
.unwrap(); |
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.
This won't do anything, you probably want .expect("connecting")
instead.
iroh-net/bench/src/lib.rs
Outdated
stats.upload_stats.total_duration = start.elapsed(); | ||
stats.download_stats.total_duration = start.elapsed(); |
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.
maybe move this up to right after acquire_many()
? Probably not a big difference though
Description
In progress thing for what should later be
iroh-perf
. For now you can run withcargo run --release -- iroh
andcargo run --release -- quinn
to do a simple comparison benchmark.More knobs are available for tuning with
--help
.There's a much more stark difference on macOS compared to running on Linux.
Next steps bumping to test against
quinn 0.11
Sample output:
Notes & open questions
Change checklist