Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Experimental WebAPI
GitHub

PerformanceAPI

Types

eventCounts

typeeventCounts= {}

performance

Provides access to performance-related information for the current page. It's part of the High Resolution Time API, but is enhanced by the Performance Timeline API, the Navigation Timing API, the User Timing API, and the Resource Timing API.See Performance on MDN

typeperformance= {
timeOrigin:float,
eventCounts:eventCounts,
}

Record fields

timeOrigin
float

Module

There are methods and helpers defined in Performance.

performanceEntry

Encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).See PerformanceEntry on MDN

typeperformanceEntry= {
name:string,
entryType:string,
startTime:float,
duration:float,
}

Record fields

name
string
entryType
string
startTime
float
duration
float

Module

There are methods and helpers defined in PerformanceEntry.

performanceEntryList

typeperformanceEntryList=WebAPI.Prelude.any

performanceMark

PerformanceMark is an abstract interface for PerformanceEntry objects with an entryType of "mark". Entries of this type are created by calling performance.mark() to add a named DOMHighResTimeStamp (the mark) to the browser's performance timeline.See PerformanceMark on MDN

typeperformanceMark= {
name:string,
entryType:string,
startTime:float,
duration:float,
detail:JSON.t,
}

Record fields

name
string
entryType
string
startTime
float
duration
float
detail
JSON.t

Module

There are methods and helpers defined in PerformanceMark.

performanceMarkOptions

typeperformanceMarkOptions= {
mutabledetail?:JSON.t,
mutablestartTime?:float,
}

Record fields

detail
option< JSON.t >
startTime
option< float >

performanceMeasure

PerformanceMeasure is an abstract interface for PerformanceEntry objects with an entryType of "measure". Entries of this type are created by calling performance.measure() to add a named DOMHighResTimeStamp (the measure) between two marks to the browser's performance timeline.See PerformanceMeasure on MDN

typeperformanceMeasure= {
name:string,
entryType:string,
startTime:float,
duration:float,
detail:JSON.t,
}

Record fields

name
string
entryType
string
startTime
float
duration
float
detail
JSON.t

performanceMeasureOptions

typeperformanceMeasureOptions= {
mutabledetail?:JSON.t,
mutablestart?:unknown,
mutableduration?:float,
mutableend?:unknown,
}

Record fields

detail
option< JSON.t >
start
option< unknown >
duration
option< float >
end
option< unknown >

[8]ページ先頭

©2009-2025 Movatter.jp