Performance.Entry
Performance entry objects.
module Type : sig ... end
Entry type enum.
The type for PerformanceEntry
objects.
val start_time : t -> float
start_time e
is the start time of e
.
to_json e
is a JSON representation of e
.
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.
module Resource_timing : sig ... end
Resource timing entries.
Navigation timing entries.
val as_resource_timing : t -> Resource_timing.t
as_resource_timing e
is e
as a ressource timing entry.
as_navigation_timing e
is e
as a navigation timing entry.