PerformanceMeasure
[<Interface>]
type PerformanceMeasure =
[<Literal>] entryType: string = "measure"
abstract member detail: obj
abstract member entryType: string
static member Create (detail: obj, duration: float, name: string, startTime: float, toJSON: unit -> obj) : PerformanceMeasure| Assembly | Xantham.Fable.Node |
| Implements | PerformanceEntry |
| Attributes | [<Interface>] |
Exposes measures created via the Performance.measure() method.
The constructor of this class is not exposed to users directly.
@since v18.2.0, v16.17.0
Functions and values
[<Literal>] entryType: string = "measure"
[<Literal>] entryType: string = "measure"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: "measure"
Properties
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: "measure"