-
Notifications
You must be signed in to change notification settings - Fork 49
feat(dfir_rs,hydro_lang): add experimental io-uring based networking #1804
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
base: main
Are you sure you want to change the base?
Conversation
Deploying hydroflow with
|
Latest commit: |
febe5e6
|
Status: | ✅ Deploy successful! |
Preview URL: | https://115bc30c.hydroflow.pages.dev |
Branch Preview URL: | https://pr1804.hydroflow.pages.dev |
2719a19
to
37d7ea1
Compare
{ | ||
ret = ret.features(vec!["hydro___feature_runtime_io-uring"]); | ||
} |
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.
Does this magic string do anything?
@@ -13,7 +13,7 @@ use trybuild_internals_api::{Runner, dependencies, features, path}; | |||
|
|||
use super::trybuild_rewriters::ReplaceCrateNameWithStaged; | |||
|
|||
pub const HYDRO_RUNTIME_FEATURES: [&str; 1] = ["runtime_measure"]; | |||
pub const HYDRO_RUNTIME_FEATURES: [&str; 2] = ["runtime_measure", "runtime_io-uring"]; |
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.
(can also make this &[&str] = &[...]
to avoid updating the length)
dfir_rs/Cargo.toml
Outdated
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.
(if you're using evenBetterToml
can set these in repo .vscode/settings.json
to keep more of the old format)
"evenBetterToml.formatter.compactArrays": false,
"evenBetterToml.formatter.columnWidth": 120,
{ | ||
tokio_uring::builder().entries(4096).start(async move { | ||
println!("ack start"); | ||
super::resource_measurement::run(flow).await; | ||
}) | ||
} |
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.
tokio_rt
unused here? Can de-duplicate the two async { .. }
bodies (also why is one move
and one not)
Blocked on #1807 |
No description provided.