Closed Bug 2035943 Opened 3 months ago Closed 20 days ago

Need a way to get both profiled and non-profiled sp3 runs with a single ./mach try command

Categories

(Testing :: Performance, enhancement, P2)

enhancement

Tracking

(firefox155 fixed)

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: mstange, Assigned: animalan)

References

Details

(Whiteboard: [fxp][operational])

Attachments

(1 file, 1 obsolete file)

We want to make it easy for developers to find out "Does my patch impact performance, and if so, how?" using the tryserver. To answer these questions, developers need both performance numbers, and profiles:

  • Before/after numbers so that PerfCompare can check if the actual score has changed, without any skew from profiling
  • Before/after profiles so that they can see how exactly the runtime within a function has changed as a result of the patch

And with profiles I mean both Gecko profiler profiles and native profiler profiles (simpleperf / ETW).

There needs to be a single ./mach try command which triggers both kinds of jobs, so that it's fire and forget. What we don't want is "push, wait for some jobs to be ready, retrigger job with profiling, wait again" - there must only be one wait roundtrip.

I have no opinion on the exact command syntax.

Blocks: 2036105
Blocks: 2036104
No longer blocks: 2036105

I met with Abhishek about this one, and he'll use the --native-profiling flag but with an argument to allow both tasks to get added. It'll default to only 1 (the profiling task) at the start since they'll be impacted by the --rebuild flag. That can change later once the feature in bug 2034253 gets implemented (per-task rebuild specifications).

Assignee: nobody → abhisheknimalan
Severity: -- → S3
Priority: -- → P2
Whiteboard: [fxp][operational]
Status: NEW → ASSIGNED

--native-profiling=both creates a new profiling task (suffixed with
-native-profiling) alongside the original task. This allows both the
original task and the profiling version to be run in the same ./mach try
command.

No longer blocks: 2036104
Attachment #9583183 - Attachment is obsolete: true

Per the recent talks, we will resolve this by removing the --native-profiling Try flag and creating duplicate jobs with native profiling.

Attachment #9606444 - Attachment description: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest → WIP: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest
Attachment #9606444 - Attachment description: WIP: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest → Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest
Attachment #9606444 - Attachment description: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest → WIP: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest
Attachment #9606444 - Attachment description: WIP: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest → Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest
Attachment #9606444 - Attachment description: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest → WIP: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest
Attachment #9606444 - Attachment description: WIP: Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest → Bug 2035943 - Create an additional native profiling task instead of modifying the original. r?#perftest
Pushed by animalan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/940c89f6b3c1 https://hg.mozilla.org/integration/autoland/rev/c4dcbf052735 Create an additional native profiling task instead of modifying the original. r=perftest-reviewers,sparky
Status: ASSIGNED → RESOLVED
Closed: 20 days ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: