PerformanceMark
[<Interface>]
type PerformanceMark =
[<Literal>] duration: float = 0
[<Literal>] entryType: string = "mark"
abstract member detail: obj
abstract member duration: float
abstract member entryType: string
static member Create (detail: obj, name: string, startTime: float, toJSON: unit -> obj) : PerformanceMark| Assembly | Xantham.Fable.Node |
| Implements | PerformanceEntry |
| Attributes | [<Interface>] |
Exposes marks created via the Performance.mark() method.
@since v18.2.0, v16.17.0
Functions and values
[<Literal>] duration: float = 0
[<Literal>] duration: float = 0The total number of milliseconds elapsed for this entry. This value will not be meaningful for all Performance Entry types.
TypeScript type: 0
[<Literal>] entryType: string = "mark"
[<Literal>] entryType: string = "mark"The type of the performance entry. It may be one of:
'node'(Node.js only)'mark'(available on the Web)'measure'(available on the Web)'gc'(Node.js only)'function'(Node.js only)'http2'(Node.js only)'http'(Node.js only)
TypeScript type: "mark"
Properties
abstract member duration: float
abstract member duration: floatThe total number of milliseconds elapsed for this entry. This value will not be meaningful for all Performance Entry types.
TypeScript type: 0
abstract member entryType: string
abstract member entryType: stringThe type of the performance entry. It may be one of:
'node'(Node.js only)'mark'(available on the Web)'measure'(available on the Web)'gc'(Node.js only)'function'(Node.js only)'http2'(Node.js only)'http'(Node.js only)
TypeScript type: "mark"