perf-0.10.0: Low-level run time measurement.
Safe HaskellNone
LanguageHaskell2010

Perf.Space

Description

Space performance measurement.

Synopsis

Documentation

data SpaceStats Source #

GHC allocation statistics.

ssToList :: Num a => SpaceStats -> [a] Source #

Convert SpaceStats to a list of numbers.

space :: Bool -> StepMeasure IO SpaceStats Source #

A allocation StepMeasure with a flag to determine if performGC should run prior to the measurement.

allocation :: Bool -> StepMeasure IO Bytes Source #

Measure memory allocation, with a flag to run performGC prior to the measurement.