criterion-1.1.1.0: Robust, reliable performance measurement and analysis

Copyright(c) 2009-2014 Bryan O'Sullivan
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe
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.

hGetRecords :: Binary a => Handle -> IO (Either String [a]) Source

Read all records from the given Handle.

hPutRecords :: Binary a => Handle -> [a] -> IO () Source

Write records to the given Handle.

readRecords :: Binary a => FilePath -> IO (Either String [a]) Source

Read all records from the given file.

writeRecords :: Binary a => FilePath -> [a] -> IO () Source

Write records to the given file.