du: preserve suffix-only block size units - #13655
Conversation
|
GNU testsuite comparison: |
Merging this PR will degrade performance by 3.03%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | du_wide_tree[(5000, 500)] |
19.7 ms | 20.3 ms | -3.03% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing wtcpython:du-block-size-suffix (b0f102f) with main (5633f03)
Footnotes
-
188 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
e32b9e0 to
ed84080
Compare
ed84080 to
3787179
Compare
|
Binary size comparison: |
3787179 to
b0f102f
Compare
|
Would you mind taking a look when convenient? Thanks! |
b0f102f to
c15bf43
Compare
Fixes #13605.
Preserve unit suffixes for block sizes specified without a numeric prefix, including values from
DU_BLOCK_SIZE,BLOCK_SIZE, andBLOCKSIZE. Numeric block sizes keep their existing output format.