ghcjs-base-0.2.0.0: base library for GHCJS

Safe HaskellNone
LanguageHaskell98

JavaScript.Web.Performance

Description

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

Synopsis

Documentation

now :: IO Double Source

The now computation returns a high resolution time stamp, measured in milliseconds, accurate to one thousandth of a millisecond.

The value represented by 0 varies according the context, but in dedicated workers created from a Window context, the epoch is the value of the PerformanceTiming.navigationStart property.