jon.recoil.org

Module Performance.EntrySource

Performance entry objects.

Sourcemodule Type : sig ... end

Entry type enum.

Sourcetype t

The type for PerformanceEntry objects.

name e is the name of e.

Sourceval start_time : Brr.Performance.Entry.t -> float

start_time e is the start time of e.

Sourceval end_time : Brr.Performance.Entry.t -> float

end_time e is the end time of e.

Sourceval duration : Brr.Performance.Entry.t -> float

duration e is the duration of duration of e.

to_json e is a JSON representation of e.

Entry types

Always check the type' before coercing an entry type to its subtype. Objects of type PerformanceMark, PerformanceMeasure, PerformanceFrameTiming, and PerformancePaintTiming do not provide additional properties, so no modules are provided for them.

Sourcemodule Resource_timing : sig ... end

Resource timing entries.

Sourcemodule Navigation_timing : sig ... end

Navigation timing entries.

as_resource_timing e is e as a ressource timing entry.

as_navigation_timing e is e as a navigation timing entry.