Skip to content

uucore: detect CPU features on Android - #15367

Open
limadog9 wants to merge 1 commit into
uutils:mainfrom
limadog9:fix/hardware-android-detection
Open

limadog9 wants to merge 1 commit into
uutils:mainfrom
limadog9:fix/hardware-android-detection

Conversation

@limadog9

Copy link
Copy Markdown
Contributor

Use Rust's supported feature detection on Android instead of disabling every feature. Enable the checksum debug tests there and add an x86_64 SSE2 regression that runs in the existing Android CI.

Closes #15233

Comment thread tests/by-util/test_wc.rs Outdated
@codspeed

codspeed Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Merging this PR will regress 1 benchmark

⚠️ 120 benchmarks spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

ℹ️ 1 benchmark has no flame graph

The flamegraph could not be generated because too much time was spent in runtime internals, making the visualization not useful for performance analysis.

⚡ 2 improved benchmarks
❌ 1 regressed benchmark
✅ 398 untouched benchmarks
⏩ 70 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ Simulation factor_thirteen_39_bit_primes 8.7 s 9.3 s -7.13%
⚡ Simulation factor_three_39_bit_primes 800.7 ms 525.2 ms +52.45%
⚡ Simulation factor_five_38_bit_primes 1.8 s 1.7 s +5.09%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing limadog9:fix/hardware-android-detection (34575d5) with main (2fb77e8)

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

@xtqqczze

Copy link
Copy Markdown
Collaborator

factor benchmark variance tracked by #14921.

@limadog9
limadog9 force-pushed the fix/hardware-android-detection branch from a57f5b0 to 34575d5 Compare October 15, 2026 17:40

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.

uucore: hardware feature detection always reports nothing on Android

3 participants