Closed Bug 1514354 Opened 6 years ago Closed 1 year ago

Add support for --gecko-profile when running Raptor tests on android (geckoview)

Categories

(Testing :: Raptor, enhancement, P2)

Version 3
enhancement

Tracking

(firefox119 fixed)

RESOLVED FIXED
119 Branch
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.
Priority: -- → P1
Priority: P1 → P2

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.

Priority: P2 → P3
Severity: normal → S3
Whiteboard: [fxp]
Priority: P3 → P2
See Also: → 1850703

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: nobody → canaltinova
Status: NEW → ASSIGNED

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.

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

See Also: → 1852073
Attachment #9351987 - Attachment is obsolete: true
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
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: