firefox-devtools / firefox-devtools/profiler

Create support for Marker Schema coming from Gecko

Open
#2,732 1 comment 0 reactions 0 assignees View on GitHub
markers needs gecko patch
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

This is dependent on #2731 being done first to land. It can be developed on the side.

In the GeckoProfile, there are multiple `process.meta.markerSchema` entries, one for each process. The `MarkerSchema[]` will ONLY include the markers used in that process. These individual entries will need to be collected into a global marker schema list, that is de-duplicated on the key. This will be stored in the unified `ProfileMeta` object in the processed format.

In addition, the `getMarkerSchema` selector will need to be updated to first look for the marker schema, and then fallback to one on the front-end if it exists.

This work should be coordinated with a version bump on the Gecko side, so that we can start landing the MarkerSchema now, and worry about it being 100% correct only later on. This work should be merged when we are ready to launch.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-302)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.