Closed Bug 1869546 Opened 1 year ago Closed 1 year ago

Make expose_browser_profiler work with gecko_profile as well

Categories

(Testing :: Raptor, defect, P3)

defect

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: canova, Assigned: canova)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp])

Attachments

(1 file)

Currently expose_browser_profiler only works with --extra-profiler-run argument (see). But it should also work with the gecko_profile enabled, which is the main mechanism for profiling in Raptor.

thanks for filing this

this is somewhat related to Bug 1853434 (potentially even duplicated by it!)

Severity: -- → S3
Priority: -- → P3
See Also: → 1853434
Whiteboard: [fxp]

Ah, that's right. I think it's directly the duplicate. That's what I was remembering I think but couldn't find the bug. Since that bug has a broader scope, I think it's better to keep them both (that bug also mentions having unexpected iteration counts).

Sounds good! Good point about the iter counts. We'll keep both

We have 2 ways to enable the profiler in Raptor:

  1. Using --gecko-profile argument locally or in CI, which runs the test only
    with the profiler enabled.
  2. Using extra_profiler_run also locally or in the CI, which runs the test
    both normally/without the profiler and then adding an extra run with the
    profiler enabled at the end.

It seems like the expose_browser_profiler flag was only working for the
second case and not when --gecko-profile was passed.

Assignee: nobody → canaltinova
Status: NEW → ASSIGNED
Pushed by canaltinova@gmail.com: https://hg.mozilla.org/integration/autoland/rev/be626b381cad Make expose_browser_profiler option work with gecko_profile as well r=kshampur,perftest-reviewers
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: