Add support for --gecko-profile when running Raptor tests on android (geckoview)
Categories
(Testing :: Raptor, enhancement, P2)
Tracking
(firefox119 fixed)
| Tracking | Status | |
|---|---|---|
| firefox119 | --- | fixed |
People
(Reporter: rwood, Assigned: canova)
References
Details
(Whiteboard: [fxp])
Attachments
(1 file, 1 obsolete file)
Updated•7 years ago
|
| Reporter | ||
Updated•7 years ago
|
Comment 1•7 years ago
|
||
I recommend the following settings:
features: ["js", "stackwalk", "responsiveness"]
threads: ["GeckoMain", "Compositor"]
interval: 10
buffer size: not sure, you may need to play with this a little. too large values will make it crash, short values will truncate the profile. You may not be able to fit more than 20 seconds or so of runtime into the buffer.
Updated•6 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
After looking into this I realized that actually the gecko profiler was working properly before Bug 1835065 on Android. But looks like it added some self.config["app"] == "firefox" checks for profiling parts. That removed the android support because self.config["app"] is either "fenix" or "geckoview". So we should bring it back.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 3•2 years ago
|
||
FIREFOX_ANDROID_APPS was incorrectly named because it also include chrome
android app. That's why to make it clear, I renamed it to ANDROID_APPS.
I wanted to make this change, so I can introduce a FIREFOX_APPS constant in
the following patch.
| Assignee | ||
Comment 4•2 years ago
|
||
It looks like we had support for Android before but since the Bug 1835065, we
lost this feature. This is because it looks like we added some
self.config["app"] == "firefox" checks to profiler related code and firefox
for android has different app name (like "geckoview" or "fenix").
This patch brings back the android profiling by changing those if checks to
include the android firefox adds as well.
Depends on D187665
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
Updated•3 months ago
|
Description
•