napkin-0.5.13
Copyright(c) Soostone Inc 2020
LicenseAllRightsReserved
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Napkin.Utils.Time

Description

 
Synopsis

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