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()
- Alphabetic
- By Inheritance
- Performance
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-  new Performance()
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(markName: String = js.native): Unit
-  def clearMeasures(measureName: String = js.native): Unit
-  def clearResourceTimings(): Unit
- 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        equals(arg0: Any): Boolean
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      - Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-  def getEntries(): Dynamic
-  def getEntriesByName(name: String, entryType: String = js.native): Dynamic
-  def getEntriesByType(entryType: String): Dynamic
-  def getMarks(markName: String = js.native): Dynamic
-  def getMeasures(measureName: String = js.native): Dynamic
- 
      
      
      
        
      
    
      
        
        def
      
      
        hasOwnProperty(v: String): Boolean
      
      
      - Definition Classes
- Object
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        hashCode(): Int
      
      
      - Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      - Definition Classes
- Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        isPrototypeOf(v: Object): Boolean
      
      
      - Definition Classes
- Object
 
-  def mark(markName: String): Unit
-  def measure(measureName: String, startMarkName: String = js.native, endMarkName: String = js.native): Unit
- 
      
      
      
        
      
    
      
        
        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 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @native()
 
- 
      
      
      
        
      
    
      
        
        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 
- 
      
      
      
        
      
    
      
        
        def
      
      
        propertyIsEnumerable(v: String): Boolean
      
      
      - Definition Classes
- Object
 
-  def setResourceTimingBufferSize(maxSize: Int): Unit
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      - Definition Classes
- AnyRef
 
- 
      
      
      
        
      
    
      
        
        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 
- 
      
      
      
        
      
    
      
        
        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 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toLocaleString(): String
      
      
      - Definition Classes
- Object
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        toString(): String
      
      
      - Definition Classes
- AnyRef → Any
 
- 
      
      
      
        
      
    
      
        
        def
      
      
        valueOf(): Any
      
      
      - Definition Classes
- Object
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... )
 
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      - Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()