W3cubDocs

/Haxe JavaScript

Performance

package js.html

@:native("Performance") Available on js

The Performance interface represents timing-related performance information for the given page.

Documentation Performance by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

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

read only timing:PerformanceTiming

Is a PerformanceTiming object containing latency-related performance information.

Methods

now ():Float

Returns a DOMHighResTimeStamp representing the amount of milliseconds elapsed since a reference instant.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Performance.html