Class

org.scalajs.dom

Performance

Related Doc: package dom

Permalink

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.

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clearMarks(markName: String = js.native): Unit

    Permalink

    Removes all or specific PerformanceMark objects from the browser's performance timeline.

  6. def clearMeasures(measureName: String = js.native): Unit

    Permalink

    Removes all or specific PerformanceMeasure objects from the browser's performance timeline.

  7. def clearResourceTimings(): Unit

    Permalink

    Removes all performance entries with an entryType of "resource" from the browser's performance timeline and sets the size of the performance resource data buffer to zero.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getEntries(): Array[PerformanceEntry]

    Permalink

    All PerformanceEntry objects currently present in the performance timeline.

  14. def getEntriesByName(name: String, type: String = js.native): Array[PerformanceEntry]

    Permalink

    Returns an array of PerformanceEntry objects currently present in the performance timeline with the given name and type.

  15. def getEntriesByType(entryType: String): Array[PerformanceEntry]

    Permalink

    Returns an array of PerformanceEntry objects currently present in the performance timeline for a given type

  16. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  20. def mark(markName: String): PerformanceMark

    Permalink

    Creates a named PerformanceMark object representing a high resolution timestamp marker in the browser's performance timeline.

  21. def measure(measureName: String, startMarkName: String = js.native, endMarkName: String = js.native): PerformanceMeasure

    Permalink

    Creates a named PerformanceMeasure object representing a time measurement between two marks in the browser's performance timeline.

  22. def navigation: PerformanceNavigation

    Permalink

    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.

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def now(): Double

    Permalink

    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.

  27. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  28. def setResourceTimingBufferSize(maxSize: Int): Unit

    Permalink

    Sets the desired size of the browser's resource timing buffer which stores the "resource" performance entries.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def timing: PerformanceTiming

    Permalink

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

  31. def toJSON(): Object

    Permalink

    Returns a JSON representation of the Performance object.

  32. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def getMarks(markName: String = js.native): Dynamic

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) No such API in the spec

  2. def getMeasures(measureName: String = js.native): Dynamic

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) No such API in the spec

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped