haste-compiler-0.5.5.0: Haskell To ECMAScript compiler

Safe HaskellNone
LanguageHaskell98

Haste.Performance

Description

(Very incomplete) Haste bindings to the Performance DOM interface.

Synopsis

Documentation

now :: IO HRTimeStamp

Returns the number of milliseconds since navigationStart, with (theoretically) microsecond precision.

navigationStart :: IO Double

Returns the number of milliseconds elapsed since UNIX epoch at the moment when this document started loading.