Performance

@native @JSGlobal @JSType
class Performance extends Object

An object of this type can be obtained by calling the Window.performance read-only attribute.

An object of this type can be obtained by calling the Window.performance read-only attribute.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def clearMarks(markName: String): Unit
def clearMeasures(measureName: String): Unit
def getEntries(): Dynamic
def getEntriesByName(name: String, entryType: String): Dynamic
def getEntriesByType(entryType: String): Dynamic
def getMarks(markName: String): Dynamic
def getMeasures(measureName: String): Dynamic
def mark(markName: String): Unit
def measure(measureName: String, startMarkName: String, endMarkName: String): Unit
def now(): Double

Returns a DOMHighResTimeStamp representing the amount of milliseconds elapsed since the start of the navigation, as give by PerformanceTiming.navigationStart to the call of the method.

Returns a DOMHighResTimeStamp representing the amount of milliseconds elapsed since the start of the navigation, as give by PerformanceTiming.navigationStart to the call of the method.

def setResourceTimingBufferSize(maxSize: Int): Unit

The Performance.timing read-only property returns a PerformanceTiming object containing latency-related performance information.

The Performance.timing read-only property returns a PerformanceTiming object containing latency-related performance information.

def toJSON(): Dynamic

Is a jsonizer returning a json object representing the Performance object.

Is a jsonizer returning a json object representing the Performance object.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object