Chrome DevTools

draft-0.1: Timeline

Timeline provides its clients with instrumentation records that are generated during the page runtime. Timeline instrumentation can be started and stopped using corresponding commands. While timeline is started, it is generating timeline event records.

Commands

Timeline.start

request: {
"id": <number>,
"method": "Timeline.start",
"params": {
  "maxCallStackDepth": <integer>
}
}
response: {
"id": <number>,
"error": <object>
}

Starts capturing instrumentation events.

Parameters

maxCallStackDepth
( optional integer )
Samples JavaScript stack traces up to maxCallStackDepth, defaults to 5.

Timeline.stop

request: {
"id": <number>,
"method": "Timeline.stop"
}
response: {
"id": <number>,
"error": <object>
}

Stops capturing instrumentation events.

Notifications

Timeline.eventRecorded

{
"method": "Timeline.eventRecorded",
"params": {
  "record": <TimelineEvent>
}
}

Fired for every instrumentation event while timeline is started.

Parameters

record
Timeline event record data.

Types

TimelineEvent: object

children
( optional array of TimelineEvent )
Nested records.
data
( object )
Event data.
type
( string )
Event type.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.