Skip to content

Scheduling profiler: Unrecognized event type from Chrome Canary #20767

@bvaughn

Description

@bvaughn

Importing a profile recorded with Chrome Canary (v90) triggers this error check code:

// Unrecognized event
else {
throw new InvalidProfileError(
`Unrecognized event ${JSON.stringify(
event,
)}! This is likely a bug in this profiler tool.`,
);
}

Here's one such example event:

{
  "args": {},
  "cat": "blink.user_timing",
  "name": "requestStart",
  "ph": "I",
  "pid": 64032,
  "s": "t",
  "tid": 775,
  "ts": 25788659448
}

Looks like there's at least one new type, "I", which I assume will eventually affect Chrome stable (currently v88).

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions