firefox-devtools / firefox-devtools/profiler
Teach gecko profile processing to use the marker schema to properly offset timestamps
Open
markers
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 491
- Avg merge
- 3d 46m
- Merged PRs (30d)
- 27
Description
Right now we have lots of custom handling. This could be done purely with marker schema.
e.g. for Network markers:
```
if (newData.type === 'Network') {
if (typeof newData.domainLookupStart === 'number') {
newData.domainLookupStart += delta;
}
if (typeof newData.domainLookupEnd === 'number') {
newData.domainLookupEnd += delta;
}
if (typeof newData.connectStart === 'number') {
newData.connectStart += delta;
}
```
┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-311)
Contributor guide
Assessment
This issue has not been assessed yet.