Packages

c

org.scalajs.dom.raw

Performance

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.

MDN

Annotations
@JSType() @native() @JSGlobal()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Performance
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Performance()

Value Members

  1. def clearMarks(markName: String = js.native): Unit
  2. def clearMeasures(measureName: String = js.native): Unit
  3. def clearResourceTimings(): Unit
  4. def getEntries(): Dynamic
  5. def getEntriesByName(name: String, entryType: String = js.native): Dynamic
  6. def getEntriesByType(entryType: String): Dynamic
  7. def getMarks(markName: String = js.native): Dynamic
  8. def getMeasures(measureName: String = js.native): Dynamic
  9. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  10. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  11. def mark(markName: String): Unit
  12. def measure(measureName: String, startMarkName: String = js.native, endMarkName: String = js.native): Unit
  13. def navigation: PerformanceNavigation

    The Performance.navigation read-only property returns a PerformanceNavigation object representing the type of navigation that occurs in the given browsing context, like the amount of redirections needed to fetch the resource.

    The Performance.navigation read-only property returns a PerformanceNavigation object representing the type of navigation that occurs in the given browsing context, like the amount of redirections needed to fetch the resource.

    MDN

  14. 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.

    MDN

  15. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  16. def setResourceTimingBufferSize(maxSize: Int): Unit
  17. def timing: PerformanceTiming

    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.

    MDN

  18. 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.

    MDN

  19. def toLocaleString(): String
    Definition Classes
    Object
  20. def valueOf(): Any
    Definition Classes
    Object