Closed Bug 1525409 Opened 5 years ago Closed 5 years ago

Move the Disk IO payload's operation from the marker name to the payload

Categories

(Core :: Gecko Profiler, enhancement, P1)

62 Branch
enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: gregtatum, Assigned: gregtatum)

References

Details

Attachments

(1 file)

Running "copy marker" from perf.html's interface on an existing DiskIO marker yields:

{
  "start":405.1727087761472,
  "dur":0.1958461417349895,
  "name":"create/open",
  "data":{
    "type":"io",
    "startTime":405.1727087761472,
    "endTime":405.3685549178822,
    "source":"PoisonIOInterposer",
    "filename":"C:\\Users\\florian",
    "cause": {
      "time":405.37047497809533,
      "stack":29742
    }
  },
  "title":null
}

However it will fit in better to the existing UI if instead it is formatted as

{
  "start":405.1727087761472,
  "dur":0.1958461417349895,
  "name":"DiskIO",
  "data":{
    "type":"DiskIO",
    "startTime":405.1727087761472,
    "endTime":405.3685549178822,
    "source":"PoisonIOInterposer",
    "operation":"create/open",
    "filename":"C:\\Users\\florian",
    "cause": {
      "time":405.37047497809533,
      "stack":29742
    }
  },
  "title":null
}
Assignee: nobody → gtatum
Priority: -- → P1

I'll be submitting a deploy preview as well.

These are the deploy previews showing the use of the new data structure. Now you can search for "DiskIO" and they will be filtered in the UI.

Marker chart deploy preview
Marker table deploy preview

And this is the PR: https://github.com/devtools-html/perf.html/pull/1729

Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fc9cf96cb4bb
Rework the IOMarkerPayload structure to include better information; r=gerald
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: