PerformanceEntry
[<Interface>]
type PerformanceEntry =
abstract member duration: float
abstract member entryType: EntryType
abstract member name: string
abstract member startTime: float
static member Create (duration: float, name: string, startTime: float, entryType: EntryType, toJSON: unit -> obj) : PerformanceEntry
abstract member toJSON () : obj| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
The constructor of this class is not exposed to users directly.
@since v8.5.0
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.
@since v8.5.0
abstract member entryType: EntryType
abstract member entryType: EntryTypeThe 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)
@since v8.5.0
abstract member startTime: float
abstract member startTime: floatThe high resolution millisecond timestamp marking the starting time of the Performance Entry.
@since v8.5.0
Methods
static member Create (duration: float, name: string, startTime: float, entryType: EntryType, toJSON: unit -> obj) : PerformanceEntry