We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code in bench_read_parallel is optimized out before benchmark:
bench_read_parallel
opendal/core/benches/ops/read.rs
Lines 98 to 103 in e869a70
The entire loop is optimized out in emitted llvm ir displayed using cargo-show-asm:
cargo asm -p opendal --bench ops --features tests --release --llvm ops::read::bench_read_parallel 12
This piece of code should not be optimized out.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The following code in
bench_read_parallel
is optimized out before benchmark:opendal/core/benches/ops/read.rs
Lines 98 to 103 in e869a70
Steps to Reproduce
The entire loop is optimized out in emitted llvm ir displayed using cargo-show-asm:
Expected Behavior
This piece of code should not be optimized out.
Additional Context
No response
Are you willing to submit a PR to fix this bug?
The text was updated successfully, but these errors were encountered: