Repository navigation
gnu responsive test (1/2) - #16088
gnu responsive test (1/2) #16088anastygnome wants to merge 26 commits into
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
3353424 to
ea5351b
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Merging this PR will degrade performance by 5.76%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
ea5351b to
903efe2
Compare
|
GNU testsuite comparison: |
95c6f3d to
c3839ea
Compare
|
why did you close it ? too hard? |
|
@anastygnome Do you know |
|
@sylvestre I inadvertently removed the branch so that pr closed. @oech3 I'll try later |
8d12bf4 to
f3ec360
Compare
|
Related issue: #11581 Note that CodSpeed ignores time of syscalls. Then benchmark should be done by ourself. |
f3ec360 to
81e96eb
Compare
|
Binary size comparison: |
8aace7b to
fdf13bd
Compare
|
wasi does not suppprt |
0fd7f8a to
703eb12
Compare
|
|
||
| #[cfg(unix)] | ||
| fn requested_mode() -> BufferMode { | ||
| let Some(value) = std::env::var_os("_STDBUF_O") else { |
There was a problem hiding this comment.
GNU stdbuf does not change buffering if LD_PRELOAD was unset at somewhere of chain of child processes. This is somewhat bug-compatibility, but we should consider if it is a good extension, or find libstdbuf.so in LD_PRELOAD variable too.
|
needs to be rebased for codspeed |
|
oh dear! |
|
If this intended to close an issue, please say so in the PR description. |
|
This branch has conflicts that must be resolved |
|
@xtqqczze this is a draft for a reason :) |
Currently, most tools buffer their output using rust's bufWriter. While this is fine, this is an issue: libc buffering uses an envvar _STDBUF_O to tune the buffering, but rust does not. This made the test fail and could impact scripts.
Therefore, I added a specific buffering mechanism that checks for this and chooses the right kind of buffer according to the envvar.
pr, and uniq also had another issue : they'd wait for an EOF to come, which is bad. this was moved to another PR
I did one commit per tool for traceability.