language-puppet-0.4.0: Tools to parse and evaluate the Puppet DSL.

Safe HaskellNone

Puppet.Stats

Description

A quickly done module that exports utility functions used to collect various statistics. All statistics are stored in a MVar holding a Map.

Documentation

measure :: MStats -> Text -> IO a -> IO aSource

measure_ :: MStats -> Text -> IO a -> IO ()Source

time :: IO a -> IO (Double, a)Source