PerformanceEntry

Overview

The PerformanceEntry object 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).

Location

Properties


entryType

 

property entryType: dynamic read;

 

dynamic entryType { get; }

 

var entryType: dynamic { get{} }

 

dynamic entryType { __get; }

 

ReadOnly Property entryType() As dynamic

name

 

property name: String read;

 

String name { get; }

 

var name: String { get{} }

 

String name { __get; }

 

ReadOnly Property name() As String

startTime

 

property startTime: DateTime read;

 

DateTime startTime { get; }

 

var startTime: DateTime { get{} }

 

DateTime startTime { __get; }

 

ReadOnly Property startTime() As DateTime

Required Methods


toJSON

Returns a JSON representation of the PerformanceEntry object.

 

method toJSON: PerformanceEntry

 

PerformanceEntry toJSON()

 

func toJSON() -> PerformanceEntry

 

PerformanceEntry toJSON()

 

Function toJSON() As PerformanceEntry