vixl::<ID_REG>::GetCpuFeatures() is slow on some Android devices
Categories
(Core :: Performance, defect)
Tracking
()
People
(Reporter: jnicol, Assigned: jnicol)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
https://share.firefox.dev/3XUGIyO
This shows up in speedometer profiles during baseline compilation. However, it only shows up on certain devices: eg Pixel 4, Pixel 5, Pixel 6, Pixel 7. Samsung S10, Samsung S20, Samsung A51. From the devices I've tested it appears to affect all devices running a kernel version >= 4.14, and affects no devices running an earlier kernel, though my sample size is fairly small.
Perhaps we can cache the features somewhere rather than querying them for every compilation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
Set priority as low according to perf impact calc, but obviously we care about speedometer
Assignee | ||
Comment 2•2 years ago
|
||
On android devices repeatedly querying the CPU's features can be
expensive and frequently shows up in speedometer profiles. This patch
makes us query the features the first time they are required, then on
subsequent occaisions we reuse the cached result instead of querying
again each time.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
bugherder |
Updated•1 years ago
|
Description
•