foundation-0.0.19: 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 Measure Source #

Constructors

Measure 

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

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

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

In depth timing & other metrics analysis of a function