Format a series of Report values using the given Mustache template.
Modulecriterion-1.6.4.0Haskell2010
Criterion.Report
Reporting functions.
- 1 type
- 8 values
- Packagecriterion-1.6.4.0
- Exports9
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceReport.hs
Write out a series of Report values to a single file, if configured to do so.
Trim long flat tails from a KDE plot.
Rendering helper functions
6 declarationsA problem arose with a template.
Constructors
TemplateNotFound FilePathThe template could not be found.
Instances7Eq, Data, Read, Show, Generic, Exception, …
Eq TemplateExceptionDefined in criterion-1.6.4.0 · Criterion.ReportData TemplateExceptionDefined in criterion-1.6.4.0 · Criterion.ReportRead TemplateExceptionDefined in criterion-1.6.4.0 · Criterion.ReportShow TemplateExceptionDefined in criterion-1.6.4.0 · Criterion.ReportGeneric TemplateExceptionDefined in criterion-1.6.4.0 · Criterion.ReportException TemplateExceptionDefined in criterion-1.6.4.0 · Criterion.Reporttype Rep TemplateException = D1 ('MetaDataDefined in criterion-1.6.4.0 · Criterion.Report"TemplateException"
"Criterion.Report"
"criterion-1.6.4.0-3LsyrOZS2k5HHO3ZbYZ39I"
'False) (C1 ('MetaCons"TemplateNotFound"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FilePath)))
Load a Mustache template file.
If the name is an absolute or relative path, the search path is not used, and the name is treated as a literal path.
If the -fembed-data-files Cabal flag is enabled, this also checks
the embedded data-files from criterion.cabal.
This function throws a TemplateException if the template could not be found, or an IOException if no template could be loaded.
includeFile Attempt to include the contents of a file based on a search path.
Returns B.empty if the search fails or the file could not be read.
Intended for preprocessing Mustache files, e.g. replacing sections
{{#include}}file.txt{{/include}
with file contents.
Return the path to the template and other files used for generating reports.
When the -fembed-data-files Cabal flag is enabled, this simply
returns the empty path.
Render the elements of a vector.
It will substitute each value in the vector for x in the
following Mustache template:
{{#foo}}
{{x}}
{{/foo}}vector2 Render the elements of two vectors.