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)
Same as we already have for --gecko-profile when running on Firefox desktop.
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 1•6 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•5 years ago
|
Updated•2 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year 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•1 year ago
|
Assignee | ||
Comment 3•1 year 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•1 year 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•1 year ago
|
Pushed by canaltinova@gmail.com: https://hg.mozilla.org/integration/autoland/rev/291b2b068eff Enable the gecko profiler on Android Firefox raptor tests r=kshampur,perftest-reviewers
Comment 6•1 year ago
|
||
bugherder |
Description
•