profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Teach gecko profile processing to use the marker schema to properly offset timestamps

Open gregtatum opened this issue 5 years ago • 0 comments

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

gregtatum avatar Sep 24 '20 14:09 gregtatum