trait Performance_ extends Object with StObject
- Annotations
- @JSType() @native()
- Source
- perfHooksMod.scala
- Alphabetic
- By Inheritance
- Performance_
- StObject
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearMarks(name: java.lang.String): Unit
- 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.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eventLoopUtilization(util1: Unit, util2: EventLoopUtilization): EventLoopUtilization
- def eventLoopUtilization(util1: EventLoopUtilization, util2: EventLoopUtilization): EventLoopUtilization
- def eventLoopUtilization(util1: EventLoopUtilization): EventLoopUtilization
- 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.
- 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")
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasOwnProperty(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def mark(name: Unit, options: MarkOptions): Unit
- def mark(name: java.lang.String, options: MarkOptions): Unit
- def mark(name: java.lang.String): Unit
- 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.
- def measure(name: java.lang.String, startMark: Unit, endMark: java.lang.String): Unit
- def measure(name: java.lang.String, startMark: java.lang.String, endMark: java.lang.String): Unit
- def measure(name: java.lang.String, startMark: java.lang.String): Unit
- def measure(name: java.lang.String, options: MeasureOptions): Unit
- 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.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeTiming: PerformanceNodeTiming
An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def now(): Double
- returns
the current high resolution millisecond timestamp
- def propertyIsEnumerable(v: scala.Predef.String): Boolean
- Definition Classes
- Object
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timeOrigin: Double
The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured.
- def timerify[T](fn: T, options: TimerifyOptions): T
- 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.
- def toLocaleString(): scala.Predef.String
- Definition Classes
- Object
- def toString(): java.lang.String
- Definition Classes
- AnyRef → Any
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated