build: set release profile optimization level to 's'#12088
build: set release profile optimization level to 's'#12088xtqqczze wants to merge 1 commit intouutils:mainfrom
Conversation
|
GNU testsuite comparison: |
Merging this PR will degrade performance by 99.09%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | wc_words_synthetic[2000] |
11.4 s | 12.6 s | -9.35% |
| ❌ | Simulation | wc_lines_large_line_count[500000] |
2.6 ms | 3.4 ms | -22.45% |
| ❌ | Simulation | wc_default_large_line_count[100000] |
50.3 ms | 57.5 ms | -12.51% |
| ❌ | Simulation | wc_words_large_line_count[100000] |
47.9 ms | 52.7 ms | -9.15% |
| ❌ | Simulation | wc_bytes_lines_synthetic[2000] |
120.8 ms | 157.7 ms | -23.38% |
| ❌ | Simulation | wc_chars_large_line_count[100000] |
713.4 µs | 866.5 µs | -17.68% |
| ❌ | Simulation | wc_lines_variable_length[(50, 500)] |
3.2 ms | 4.1 ms | -22.61% |
| ❌ | Simulation | wc_lines_extreme_line_lengths[(100000, 200)] |
1.4 ms | 1.8 ms | -20.69% |
| ❌ | Simulation | cksum_crc32b |
13.7 ms | 33.4 ms | -59.16% |
| ❌ | Simulation | cksum_default |
16.7 ms | 33.5 ms | -50.19% |
| ❌ | Simulation | cksum_sha224 |
1.8 s | 2.7 s | -33.28% |
| ❌ | Simulation | cksum_md5 |
320.9 ms | 399.2 ms | -19.62% |
| ❌ | Simulation | cksum_sha256 |
1.8 s | 2.7 s | -33.28% |
| ⚡ | Simulation | cksum_sha384 |
1,110.6 ms | 969.2 ms | +14.59% |
| ❌ | Simulation | cksum_sha1 |
718.3 ms | 1,638.3 ms | -56.15% |
| ❌ | Simulation | cksum_raw_output |
16.7 ms | 33.5 ms | -50.04% |
| ❌ | Simulation | cksum_sha2 |
1.8 s | 2.7 s | -33.28% |
| ❌ | Simulation | cksum_sysv |
48.1 ms | 175.5 ms | -72.6% |
| ❌ | Simulation | cksum_multiple_files |
25.1 ms | 50.2 ms | -49.97% |
| ❌ | Simulation | cksum_bsd |
128.1 ms | 204.6 ms | -37.39% |
| ... | ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
Comparing xtqqczze:opt-level (cd1349b) with main (5316f58)
Footnotes
-
46 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. ↩
|
Binary size comparison: |
|
@oech3 some of these regressions seem pretty bad: true_consecutive_calls I wonder if we should remove |
|
This is same with Ubuntu's default. |
|
Since we benches uu_main only, we cannot bench overhead of caching binary to RAM. So It might be able to use |
s: optimize for binary size