Skip to content

test_install.rs: reduce external binary - #16902

Merged
sylvestre merged 1 commit into
uutils:mainfrom
oech3:tests-instal-dep
Nov 28, 2026
Merged

sylvestre merged 1 commit into
uutils:mainfrom
oech3:tests-instal-dep

Conversation

@oech3

@oech3 oech3 commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Maybe, needed for Android adb.

@oech3 oech3 changed the title test_install.rs: reduce external binary from test_install_and_strip_with_program_hyphen test_install.rs: reduce external binary of test_install_and_strip_with_program_hyphen Nov 27, 2026
@oech3

oech3 commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Did not help adb... but less external dep is always fine.

Comment thread tests/by-util/test_install.rs Resolved
@oech3 oech3 changed the title test_install.rs: reduce external binary of test_install_and_strip_with_program_hyphen test_install.rs: reduce external binary Nov 27, 2026
@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

GNU test failed: tests/tail/truncate. tests/tail/truncate is passing on 'main'. Maybe you have to rebase?

Comment thread tests/by-util/test_install.rs Resolved
Comment thread tests/by-util/test_install.rs Resolved
@oech3
oech3 force-pushed the tests-instal-dep branch 2 times, most recently from b05f0e3 to a7c4217 Compare November 28, 2026 00:32
@codspeed

codspeed Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will improve performance by 13.42%

2 warnings, 1 note

⚠️ 128 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

⚠️ 3 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

ℹ️ 1 benchmark has no flamegraph

The flamegraph wasn't generated: most of the time was spent in runtime internals, which would leave nothing useful to analyze.

See affected benchmarks

⚡ 3 improved benchmarks
✅ 412 untouched benchmarks
⏩ 70 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ CPU Simulation mv_force_overwrite 155.3 ms 127.9 ms +21.4%
⚡ CPU Simulation dd_copy_64k_blocks 1.4 ms 1.3 ms +10.9%
⚡ CPU Simulation dd_copy_1m_blocks 910.2 µs 840 µs +8.37%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing oech3:tests-instal-dep (a7c4217) with main (8efadca)2

Open in CodSpeed

Footnotes

  1. 70 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. ↩

  2. No successful run was found on main (bd9f060) during the generation of this report, so 8efadca was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@codspeed

codspeed Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Unable to generate the flamegraphs

The performance report has correctly been generated, but there was an internal error while generating the flamegraphs for this run. We're working on fixing the issue. Feel free to contact us on Discord or at support@codspeed.io if the issue persists.

@sylvestre
sylvestre merged commit b7dea6e into uutils:main Nov 28, 2026
93 checks passed
@sylvestre

Copy link
Copy Markdown
Contributor

Thanks for your PR

@oech3
oech3 deleted the tests-instal-dep branch November 28, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants