Skip to content

PerformanceMark

Types

t

type t = WebAPI.PerformanceTypes.performanceMark = private {
name: string,
entryType: string,
startTime: float,
duration: float,
detail: JSON.t,
}

Record fields

entryType
string
startTime
float
duration
float
detail
JSON.t

Values

asPerformanceEntry

let asPerformanceEntry: WebAPI.PerformanceTypes.performanceMark => WebAPI.PerformanceTypes.performanceEntry

make

let make: (
~markName: string,
~markOptions: WebAPI.PerformanceTypes.performanceMarkOptions=?,
) => WebAPI.PerformanceTypes.performanceMark

Parameters

~markName: string
~markOptions: WebAPI.PerformanceTypes.performanceMarkOptions=?

Return type

WebAPI.PerformanceTypes.performanceMark

toJSON

let toJSON: WebAPI.PerformanceTypes.performanceMark => Dict.t<string>

Parameters

Return type

Dict.t<string>