Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.PerformanceTimeline.TimelineEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { TimelineEvent } = default.PerformanceTimeline;

Properties

frameId: Page.FrameId

Identifies the frame that this event is related to. Empty for non-frame targets.

type: string

The event type, as specified in https://w3c.github.io/performance-timeline/#dom-performanceentry-entrytype This determines which of the optional "details" fiedls is present.

name: string

Name may be empty depending on the type.

Time in seconds since Epoch, monotonically increasing within document lifetime.

optional
duration: number

Event duration, if applicable.

optional
lcpDetails: LargestContentfulPaint
optional
layoutShiftDetails: LayoutShift