trait Performance_ extends Object with StObject

Annotations
@JSType() @native()
Source
perfHooksMod.scala
Linear Supertypes
StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Performance_
  2. StObject
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearMarks(name: java.lang.String): Unit
  6. def clearMarks(): Unit

    If name is not provided, removes all PerformanceMark objects from the Performance Timeline.

    If name is not provided, removes all PerformanceMark objects from the Performance Timeline. If name is provided, removes only the named mark.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def eventLoopUtilization(util1: Unit, util2: EventLoopUtilization): EventLoopUtilization
  11. def eventLoopUtilization(util1: EventLoopUtilization, util2: EventLoopUtilization): EventLoopUtilization
  12. def eventLoopUtilization(util1: EventLoopUtilization): EventLoopUtilization
  13. def eventLoopUtilization(): EventLoopUtilization

    eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time.

    eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time. It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait). No other CPU idle time is taken into consideration.

  14. val eventLoopUtilization_Original: EventLoopUtilityFunction

    eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time.

    eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time. It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait). No other CPU idle time is taken into consideration.

    Annotations
    @JSName("eventLoopUtilization")
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  20. def mark(name: Unit, options: MarkOptions): Unit
  21. def mark(name: java.lang.String, options: MarkOptions): Unit
  22. def mark(name: java.lang.String): Unit
  23. def mark(): Unit

    Creates a new PerformanceMark entry in the Performance Timeline.

    Creates a new PerformanceMark entry in the Performance Timeline. A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark', and whose performanceEntry.duration is always 0. Performance marks are used to mark specific significant moments in the Performance Timeline.

  24. def measure(name: java.lang.String, startMark: Unit, endMark: java.lang.String): Unit
  25. def measure(name: java.lang.String, startMark: java.lang.String, endMark: java.lang.String): Unit
  26. def measure(name: java.lang.String, startMark: java.lang.String): Unit
  27. def measure(name: java.lang.String, options: MeasureOptions): Unit
  28. def measure(name: java.lang.String): Unit

    Creates a new PerformanceMeasure entry in the Performance Timeline.

    Creates a new PerformanceMeasure entry in the Performance Timeline. A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure', and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark.

    The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist, then startMark is set to timeOrigin by default.

    The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown.

  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. val nodeTiming: PerformanceNodeTiming

    An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.

  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  33. def now(): Double

    returns

    the current high resolution millisecond timestamp

  34. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. val timeOrigin: Double

    The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured.

  37. def timerify[T](fn: T, options: TimerifyOptions): T
  38. def timerify[T](fn: T): T

    Wraps a function within a new function that measures the running time of the wrapped function.

    Wraps a function within a new function that measures the running time of the wrapped function. A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed.

  39. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  40. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  41. def valueOf(): Any
    Definition Classes
    Object
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped