implement a custom start/stop for running chrome trace to profile benchmarks in CI
Categories
(Testing :: Raptor, enhancement, P1)
Tracking
(firefox120 fixed)
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: kshampur, Assigned: kshampur)
References
(Depends on 1 open bug, Blocks 3 open bugs)
Details
(Whiteboard: [fxp])
Attachments
(1 file)
See Bug 1823730 and PR https://github.com/sitespeedio/browsertime/pull/1934
Once pageload traces are working as expected we should move forward with this
Updated•2 years ago
|
Assignee | ||
Comment 1•1 years ago
|
||
Before looking to make upstream changes, first check how the default implementation works for benchmarks
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Comment 2•1 years ago
|
||
the sp3 profiles are a little useless (not surprising) e.g.
but not entirely useless like in this motionmark one
basically it cuts off too early. I will see if there any existing flags that can extend it, otherwise as suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=1835071#c0, I will make an upstream change to browsertime to expose the start/stop
Assignee | ||
Comment 3•1 year ago
|
||
managed to get something working locally,
here is an example ares6 full profile https://profiler.firefox.com/public/3x8m5bhs089m4gv9cz0zbkj0j3xgfghrk9zf7p8/calltree/?globalTrackOrder=30w2&hiddenGlobalTracks=02&hiddenLocalTracksByPid=20796-0w5~20844-0wd~20816-0w3&thread=7&timelineType=category&v=10
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
This patch uses the custom browsertime exposed start/stop command
for using the chrome Trace. Previously the logic in browsertime
was intended for profiling pageloads, and would end prematurely before
the benchmark was completed. A similar custom start/stop approach was
done previously for the gecko profiler, and now the same thing is needed
here.
Assignee | ||
Comment 5•1 year ago
|
||
just fyi: pr for upstream https://github.com/sitespeedio/browsertime/pull/1988
Assignee | ||
Comment 6•1 year ago
|
||
(In reply to Kash Shampur [:kshampur] ⌚EST from comment #5)
just fyi: pr for upstream https://github.com/sitespeedio/browsertime/pull/1988
PR has been merged
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 8•1 year ago
|
||
bugherder |
Description
•