Closed
Bug 1425303
Opened 6 years ago
Closed 6 years ago
Add ability to open gecko profiling treeherder job artifacts directly into the perf.html viewer
Categories
(Tree Management :: Treeherder: Frontend, enhancement)
Tree Management
Treeherder: Frontend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rwood, Assigned: rwood)
References
Details
(Whiteboard: [PI:April][perf-tools])
Attachments
(1 file)
When --geckoProfiling is turned on (try flag) for talos performance tests, the resulting profile files are uploaded and a link is provided in treeherder artifacts for that selected job. The next step, is to add a link for each profile artifact, that will enable directly opening the profile in https://perf-html.io/ so the profile can be analyzed easily.
Assignee | ||
Updated•6 years ago
|
Summary: Add ability to open gecko profiling artifacts directly into the perf.html viewer → Add ability to open gecko profiling treeherder job artifacts directly into the perf.html viewer
Assignee | ||
Updated•6 years ago
|
Whiteboard: [PI:January]
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → rwood
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•6 years ago
|
||
This requires support on the perf-html.io side to be able to open profile.zip files via /from-url/. This is already entered as a perf-html github issue here: https://github.com/devtools-html/perf.html/issues/255 Once that is resolved, then we can add a perf-html.io formatted URL link on the 'Job Details' treeherder panel to automatically open the resulting talos *-profile.zip in a new tab in perf-html.io. :gregtatum, any idea of the ETA for the above perf-html.io github issue to be resolved? I can work on the treeherder link side once the zip file support is in.
Flags: needinfo?(gtatum)
Comment 2•6 years ago
|
||
We can re-prioritize it since it's blocking you. I'll talk with the team to hopefully get it prioritized on our current sprint.
Assignee | ||
Comment 3•6 years ago
|
||
(In reply to Greg Tatum [:gregtatum] [@gregtatum] from comment #2) > We can re-prioritize it since it's blocking you. I'll talk with the team to > hopefully get it prioritized on our current sprint. Great thanks! :)
Assignee | ||
Updated•6 years ago
|
Whiteboard: [PI:January] → [PI:February]
Updated•6 years ago
|
Flags: needinfo?(gtatum)
Comment 4•6 years ago
|
||
This is coming along, and getting closer: https://github.com/devtools-html/perf.html/issues/255
Updated•6 years ago
|
Whiteboard: [PI:February] → [PI:February][perf-tools]
Updated•6 years ago
|
Whiteboard: [PI:February][perf-tools] → [PI:March][perf-tools]
Assignee | ||
Comment 5•6 years ago
|
||
Thanks Greg (perf-html.io now accepts URLs to zipfiles). Next step: I'll attempt a patch that will add a 'open in perf-html.io' link on the Treeherder Job Details panel, beside talos gecko profile artifacts. Similar to the "open in test results viewer" link that appears beside raw log artifacts in the same panel.
Comment 6•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Attachment #8964637 -
Flags: review?(emorley)
Comment 7•6 years ago
|
||
Comment on attachment 8964637 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3389 Left a comment :-)
Attachment #8964637 -
Flags: review?(emorley)
Updated•6 years ago
|
Whiteboard: [PI:March][perf-tools] → [PI:April][perf-tools]
Assignee | ||
Comment 8•6 years ago
|
||
Thanks Ed for trying that out. Hi Greg, for some reason the perf-html.io link that my treeherder patch generates works for me but doesn't work for :emorley. I must be doing something wrong... can you please have a look? I must be missing something. Thanks! The conversation is in the pull request: https://github.com/mozilla/treeherder/pull/3389#discussion_r179142583
Flags: needinfo?(gtatum)
Assignee | ||
Comment 9•6 years ago
|
||
:gtatum, it looks like if the perf-html.io add-on isn't installed (or updated) then the link 404's. Is there any way instead of 404'ing, maybe perf-html.io could indicate that the add-on needs to be installed?
Assignee | ||
Comment 10•6 years ago
|
||
Turns out the addon shouldn't be required, and the 404's are a bug. Markus filed a perf-html.io issue: https://github.com/devtools-html/perf.html/issues/903
Flags: needinfo?(gtatum)
Assignee | ||
Comment 11•6 years ago
|
||
Note: Keep the talos profiling documentation up to date after this eventually lands https://wiki.mozilla.org/Performance_sheriffing/Talos/Profiling
Comment 12•6 years ago
|
||
Is there anything else that needs to be done on our side to move this forward?
Flags: needinfo?(rwood)
Assignee | ||
Comment 13•6 years ago
|
||
Comment on attachment 8964637 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3389 (In reply to Panos Astithas [:past] (please ni?) from comment #12) > Is there anything else that needs to be done on our side to move this > forward? No, now that the fix has been landed (comment 10) we should be good to land this. :emorley can you please try the link in the PR again? Working fine for me. Thanks!
Flags: needinfo?(rwood)
Attachment #8964637 -
Flags: review?(emorley)
Comment 14•6 years ago
|
||
Comment on attachment 8964637 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3389 Looks good :-)
Attachment #8964637 -
Flags: review?(emorley) → review+
Comment 15•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/db7d0e9de79d45dbf2047b4e0bdcc44fcb212b65 Bug 1425303 - Add perf-html.io link for talos gecko profiles (#3389)
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 16•6 years ago
|
||
Thanks Ed! :)
Comment 17•6 years ago
|
||
\o/
You need to log in
before you can comment on or make changes to this bug.
Description
•