Skip to content

Performance

[<Interface>]
type Performance =
    abstract member nodeTiming: PerformanceNodeTiming
    abstract member timeOrigin: float
    abstract member clearMarks (?name: string) : unit
    abstract member clearMeasures (?name: string) : unit
    abstract member clearResourceTimings (?name: string) : unit
    abstract member eventLoopUtilization (?utilization1: EventLoopUtilization, ?utilization2: EventLoopUtilization) : EventLoopUtilization
    abstract member getEntries () : ResizeArray<PerformanceEntry>
    abstract member getEntriesByName (name: string, ?type: EntryType) : ResizeArray<PerformanceEntry>
    abstract member getEntriesByType (type: EntryType) : ResizeArray<PerformanceEntry>
    abstract member mark (name: string, ?options: MarkOptions) : PerformanceMark
    abstract member markResourceTiming (timingInfo: obj, requestedUrl: string, initiatorType: string, global: obj, cacheMode: cacheMode, bodyInfo: obj, responseStatus: float, ?deliveryType: string) : PerformanceResourceTiming
    abstract member measure (name: string, options: MeasureOptions) : PerformanceMeasure
    abstract member measure (name: string, ?startMark: string, ?endMark: string) : PerformanceMeasure
    abstract member now () : float
    abstract member setResourceTimingBufferSize (maxSize: float) : unit
    abstract member timerify<'T> (fn: 'T, ?options: TimerifyOptions) : 'T
    abstract member toJSON () : obj
AssemblyGlutinum.Node
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Declared inside

markResourceTiming

Properties

abstract member nodeTiming: PerformanceNodeTiming
abstract member timeOrigin: float

Methods

abstract member clearMarks (?name: string) : unit
abstract member clearMeasures (?name: string) : unit
abstract member clearResourceTimings (?name: string) : unit
abstract member eventLoopUtilization (?utilization1: EventLoopUtilization, ?utilization2: EventLoopUtilization) : EventLoopUtilization
abstract member getEntries () : ResizeArray<PerformanceEntry>
abstract member getEntriesByName (name: string, ?type: EntryType) : ResizeArray<PerformanceEntry>
abstract member getEntriesByType (type: EntryType) : ResizeArray<PerformanceEntry>
abstract member mark (name: string, ?options: MarkOptions) : PerformanceMark
abstract member markResourceTiming (timingInfo: obj, requestedUrl: string, initiatorType: string, global: obj, cacheMode: cacheMode, bodyInfo: obj, responseStatus: float, ?deliveryType: string) : PerformanceResourceTiming
abstract member measure (name: string, options: MeasureOptions) : PerformanceMeasure
abstract member measure (name: string, ?startMark: string, ?endMark: string) : PerformanceMeasure
abstract member now () : float
abstract member setResourceTimingBufferSize (maxSize: float) : unit
abstract member timerify<'T> (fn: 'T, ?options: TimerifyOptions) : 'T
abstract member toJSON () : obj