criterion-1.0.2.0: Robust, reliable performance measurement and analysis

Copyright(c) 2009-2014 Bryan O'Sullivan
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Criterion.IO

Description

Input and output actions.

Synopsis

Documentation

header :: ByteString Source

The header identifies a criterion data file. This contains version information; there is no expectation of cross-version compatibility.

hGetReports :: Handle -> IO (Either String [Report]) Source

Read all reports from the given Handle.

hPutReports :: Handle -> [Report] -> IO () Source

Write reports to the given Handle.

readReports :: FilePath -> IO (Either String [Report]) Source

Read all reports from the given file.

writeReports :: FilePath -> [Report] -> IO () Source

Write reports to the given file.