foundation-0.0.15: Alternative prelude with batteries and no dependencies

LicenseBSD-style
MaintainerFoundation maintainers
Safe HaskellNone
LanguageHaskell2010

Foundation.Timing

Description

An implementation of a timing framework

Synopsis

Documentation

data Timing #

Constructors

Timing 

data Measure #

Constructors

Measure 

stopWatch :: (a -> b) -> a -> IO Timing #

Simple one-time measurement of time & other metrics spent in a function

measure :: Word -> (a -> b) -> a -> IO Measure #

In depth timing & other metrics analysis of a function