-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Gecko's phased markers to the front-end #2626
Add Gecko's phased markers to the front-end #2626
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2626 +/- ##
==========================================
- Coverage 86.59% 86.54% -0.06%
==========================================
Files 219 218 -1
Lines 17437 17638 +201
Branches 4529 4542 +13
==========================================
+ Hits 15100 15264 +164
- Misses 2141 2171 +30
- Partials 196 203 +7
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just left a remark that we may be mixing 2 different things on one property, and it could be better to split this into 2 properties.
Better means: it gives more possibilities, but the code wouldn't be that different.
What do you think?
fb84915
to
f8b69e0
Compare
… (partial) This patch does not fix tests, nor satisfy the Flow checks. It is only the work to modify the RawMarkerTable to add the new phased marker support. Imports, tests, fixing the marker pipeline, and passing flow are only for future patches.
I'm not completely sure why this happened, but it didn't seem like a regression.
… markers, previously they were exclusive
These snapshots add the phase, but they also change the fetchStart property of the network markers. This is due to changes in the underlying fixture generation.
…AL_START markers This isn't particularly useful, as the marker buckets aren't REALLY truncating long markers, just relying on the interval mechanism of deriving markers. This is already covered elsewhere.
Ok, so this lump of snapshot changes are a bit mysterious, but I think that's partly due to limitations in snapshot testing not being specific. I'm somewhat curious if these will be hiding regressions when I load this up with real profile data.
The only places this was left in was with Network and IPC payloads, as there was logic using these values. It was much easier to leave them in for now.
This will finally teach our Markers the difference between Instant and Interval markers.
…ction for deriving markers
…s more verbose in naming
f8b69e0
to
7d9bead
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this! It was quite a journey! 🙂 As I r+'d all individual PRs, r+'ing this as well with the comments on the individual PRs addressed.
… instead of marker.start
…de into the upgraders The upgraders were sharing code with the type system, which the startTime and endTime changes ended up being a breaking change. In order to properly isolate this code, it was duplicated and inlined in the upgraders.
This is the unified patch to handle the Gecko patch from: https://phabricator.services.mozilla.com/D78990
This PR will serve as the actual merge point for this work, but I've broken it out into smaller, more reviewable pieces:
Review status:
startTime
andendTime
from payloads Remove startTime/endTime from most marker payloads (Do not merge, see #2626) #2662Marker
type'sdur
property toendTime
(follow-up?) Change the Marker type to use end rather dur (Do not merge, see #2626) #2660