Skip to content

android.yml: speed up CI (about 3 min) - #16675

Open
oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:android-fast-ci
Open

oech3 wants to merge 1 commit into
uutils:mainfrom
oech3:android-fast-ci

Conversation

@oech3

@oech3 oech3 commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #16669 Closes #16619 Closes #16663

Comment thread .github/workflows/android.yml Resolved
Comment thread .github/workflows/android.yml Resolved
Comment thread .cargo/config.toml Resolved
Comment thread .github/workflows/android.yml Resolved
Comment thread .github/workflows/android.yml Resolved
Comment thread .github/workflows/android.yml Resolved
@oech3
oech3 force-pushed the android-fast-ci branch 4 times, most recently from 236d89a to f4323f8 Compare November 18, 2026 14:07
@oech3

oech3 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

*ftl was fixed, but many tests are failing.

@oech3
oech3 marked this pull request as draft November 18, 2026 14:10
@oech3

This comment was marked as resolved.

@oech3
oech3 force-pushed the android-fast-ci branch 2 times, most recently from cf9ba27 to a6f3000 Compare November 18, 2026 15:27
@oech3
oech3 marked this pull request as ready for review November 18, 2026 15:28
@oech3

oech3 commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

I was needed to ignore some tests. Some tests might cross-build specific. But I think that cross-build for Android is important more than native build for most developers and better to catch those issues more that passing at native build.

Comment thread tests/by-util/test_od.rs Resolved
Comment thread tests/by-util/test_ls.rs Resolved
Comment thread tests/by-util/test_cp.rs Resolved
Comment thread .github/workflows/android.yml Resolved
Comment thread .github/workflows/android.yml Resolved
Comment thread .github/workflows/android.yml Resolved
Comment thread .github/workflows/android.yml Resolved
@oech3
oech3 force-pushed the android-fast-ci branch 2 times, most recently from 6c90098 to 7f948fa Compare November 19, 2026 00:07
@github-actions

Copy link
Copy Markdown

Binary size comparison:

Individual binary size comparison VS main (threshold: >=5% AND >=4 KB).

Total size of compared binaries: 155.48 MB (+100 KB, +0.06%)

Significant per-binary changes:
  env     1.20 MB ->    1.28 MB  (+80 KB, +6.51%)

@oech3
oech3 force-pushed the android-fast-ci branch 9 times, most recently from 193a835 to b769eb0 Compare November 19, 2026 03:27
@oech3

oech3 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

I updated ignored comment, or adjusted tests except for od.

@codspeed

codspeed Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will improve performance by 14.03%

1 warning, 2 notes

⚠️ 116 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

ℹ️ This run is excluded from the branch history

This commit was force-pushed, so this run no longer appears in the branch's performance history.

ℹ️ 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
✅ 199 untouched benchmarks
⏩ 283 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ CPU Simulation mv_force_overwrite 155.9 ms 127.9 ms +21.93%
⚡ CPU Simulation dd_copy_64k_blocks 1.4 ms 1.3 ms +11.4%
⚡ CPU Simulation dd_copy_1m_blocks 916.2 µs 839.4 µs +9.15%

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:android-fast-ci (eb7d7b4) with main (ab69b86)2

Open in CodSpeed

Footnotes

  1. 283 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 (dcac526) during the generation of this report, so ab69b86 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)

@xtqqczze

This comment was marked as off-topic.

@oech3
oech3 force-pushed the android-fast-ci branch 3 times, most recently from 2be20fb to 5b51bcd Compare November 23, 2026 16:50
@xtqqczze

Copy link
Copy Markdown
Collaborator

Android / test (pull_request) is failing:

error: process didn't exit successfully: `sccache /home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc -vV` (exit status: 2)
--- stderr
sccache: error: Timed out waiting for server startup. Maybe the remote service is unreachable?
Run with SCCACHE_LOG=debug SCCACHE_NO_DAEMON=1 to get more information

Comment thread .github/workflows/android.yml Resolved
Comment thread tests/by-util/test_install.rs Outdated

#[cfg(all(unix, feature = "chmod"))]
#[test]
#[cfg_attr(target_os = "android", ignore = "printf ... | grep fails")]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which part fails, printf or grep? please give the real reason, same for the env and test ignores

Comment thread tests/by-util/test_tail.rs Resolved
@oech3
oech3 force-pushed the android-fast-ci branch 5 times, most recently from 5fe0695 to eb7d7b4 Compare November 27, 2026 20:52

This branch has not been deployed

No deployments
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.

android.yml: build binaries on Ubuntu, not at Android for speed Drop legacy API from Android CI

3 participants