Add startTime, and endTime to the marker struct
Categories
(Core :: Gecko Profiler, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: gregtatum, Assigned: gregtatum)
References
(Blocks 1 open bug)
Details
Attachments
(7 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Markers currently have a time
field in the output JSON. Many markers in the payloads also include a startTime
and endTime
. These various fields end up being ambiguous in how they are used.
For the output marker table we should remove the time
field, and add startTime
and endTime
. Each of these properties can then be null
or number
.
This will also need a profiler upgrader for the front-end which will need to land first.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
This patch is the first step to our so-called "Markers 2.0" work. It's attempting to consolidate
some ad-hoc practices in the profiler into more solid practices. This is the first step to getting
the Gecko profiler to produce a format that has the timing information applied to the serialized
marker tuple, rather than a mix in the tuple and the payload.
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D78990
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D84346
Assignee | ||
Comment 4•4 years ago
|
||
The try run looks pretty good now: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a4ddff5dc623afa40e67d1551a9d3fd4db1849cb
Assignee | ||
Comment 5•4 years ago
|
||
The front-end merged, and once deployed this can be merged as well.
https://github.com/firefox-devtools/profiler/pull/2660
I'll be away from the office for a bit, so Nazim can help coordinate that, as he can deploy and was the reviewer for the front-end piece.
Depends on D84595
Depends on D85374
Depends on D85375
Depends on D85376
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b481d63c4ce1
https://hg.mozilla.org/mozilla-central/rev/702818e2e923
https://hg.mozilla.org/mozilla-central/rev/552a50d291d8
https://hg.mozilla.org/mozilla-central/rev/39429089fcf6
https://hg.mozilla.org/mozilla-central/rev/0ced6d9dea69
https://hg.mozilla.org/mozilla-central/rev/68d8385968bb
https://hg.mozilla.org/mozilla-central/rev/baa47c1d4947
Description
•