Closed
Bug 1372361
Opened 7 years ago
Closed 7 years ago
Make ts_paint test profiling dump profiles from the parent process using TalosContentProfiler.js
Categories
(Testing :: Talos, enhancement)
Testing
Talos
Tracking
(firefox56 fixed)
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
Details
Attachments
(1 file, 1 obsolete file)
ts_paint measures how long it takes to paint the first window. Often times, the most important information about what the bottlenecks are preventing that first paint can be found using the Gecko Profiler. ts_paint tries to use the Talos profiling scripts, but it uses an older one from the pre-e10s days. When it attempts to dump the profile, it only ends up dumping the profile for the content process, which is mostly useless, since what's usually blocking the first paint of the window is in the parent process.
Assignee | ||
Updated•7 years ago
|
Summary: Make ts_paint test profiling dump profiles from the parent process using TalosContentPowers.js → Make ts_paint test profiling dump profiles from the parent process using TalosPowersContent.js
Assignee | ||
Updated•7 years ago
|
Summary: Make ts_paint test profiling dump profiles from the parent process using TalosPowersContent.js → Make ts_paint test profiling dump profiles from the parent process using TalosContentProfiler.js
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8876888 [details] Bug 1372361 - Use TalosContentProfiler.js for ts_paint so that --geckoProfile runs return useful results. https://reviewboard.mozilla.org/r/148214/#review152578 thanks for the patch, I assume this won't change any numbers.
Attachment #8876888 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Joel Maher ( :jmaher) from comment #2) > Comment on attachment 8876888 [details] > Bug 1372361 - Use TalosContentProfiler.js for ts_paint so that > --geckoProfile runs return useful results. > > https://reviewboard.mozilla.org/r/148214/#review152578 > > thanks for the patch, I assume this won't change any numbers. It shouldn't, no - all changes should occur after the thing that's being measured.
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a72582716f3f Use TalosContentProfiler.js for ts_paint so that --geckoProfile runs return useful results. r=jmaher
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a72582716f3f
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Comment 6•7 years ago
|
||
This causes problems when I run it locally, since the MozAfterPaint listener is now removed only after a number of await calls, and winds up processing multiple events rather than just one.
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to Kris Maglione [:kmag] from comment #6) > This causes problems when I run it locally, since the MozAfterPaint listener > is now removed only after a number of await calls, and winds up processing > multiple events rather than just one. We don't actually use the MozAfterPaint event in order to get a time though - we're using nsIAppStartup.getStartupInfo(). Or am I missing something?
Flags: needinfo?(kmaglione+bmo)
Comment 8•7 years ago
|
||
(In reply to Mike Conley (:mconley) from comment #7) > We don't actually use the MozAfterPaint event in order to get a time though > - we're using nsIAppStartup.getStartupInfo(). Or am I missing something? I'm talking about here: http://searchfox.org/mozilla-central/rev/714606a8145636d93b116943d3a65a6a49d2acf8/testing/talos/talos/startup_test/tspaint_test.html#15-20 where we use MozAfterPaint listeners to trigger the report output, and wind up outputting it twice.
Flags: needinfo?(kmaglione+bmo)
Assignee | ||
Updated•7 years ago
|
Flags: needinfo?(mconley)
Comment hidden (mozreview-request) |
Comment 10•7 years ago
|
||
Comment on attachment 8880098 [details] Bug 1372361: Remove MozAfterPaint listener before calling await. Sorry, copy/paste fail.
Attachment #8880098 -
Attachment is obsolete: true
Attachment #8880098 -
Flags: review?(mconley)
You need to log in
before you can comment on or make changes to this bug.
Description
•