Copyright | (c) Soostone Inc 2020 |
---|---|
License | AllRightsReserved |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- time :: MonadIO m => m a -> m (NominalDiffTime, a)
- time_ :: MonadIO m => m a -> m NominalDiffTime
- prettySeconds :: NominalDiffTime -> String
- getCurrentTimeWithOverride :: IO UTCTime
Documentation
time :: MonadIO m => m a -> m (NominalDiffTime, a) #
Measure how long action took, in seconds along with its result
time_ :: MonadIO m => m a -> m NominalDiffTime #
Just measure how long action takes, discard its result
prettySeconds :: NominalDiffTime -> String #