Changelog for criterion-1.2.6.0
1.2.6.0
-
Add error bars and zoomable navigation to generated HTML report graphs.
(Note that there have been reports that this feature can be somewhat unruly when using macOS and Firefox simultaneously. See https://github.com/flot/flot/issues/1554 for more details.)
-
Use a predetermined set of cycling colors for benchmark groups in HTML reports. This avoids a bug in earlier versions of
criterionwhere benchmark group colors could be chosen that were almost completely white, which made them impossible to distinguish from the background.
1.2.5.0
- Add an
-fembed-data-filesflag. Enabling this option will embed thedata-filesfromcriterion.cabaldirectly into the binary, producing a relocatable executable. (This has the downside of increasing the binary size significantly, so be warned.)
1.2.4.0
- Fix issue where
--helpwould display duplicate options.
1.2.3.0
-
Add a
Semigroupinstance forOutliers. -
Improve the error messages that are thrown when forcing nonexistent benchmark environments.
-
Explicitly mark
forceGCas deprecated.forceGChas not had any effect for several releases, and it will be removed in the next majorcriterionrelease.
1.2.2.0
-
Important bugfix: versions 1.2.0.0 and 1.2.1.0 were incorrectly displaying the lower and upper bounds for measured values on HTML reports.
-
Have
criterionemit warnings if suspicious things happen during mustache template substitution when creating HTML reports. This can be useful when using custom templates with the--templateflag.
1.2.1.0
-
Add
GCStatistics,getGCStatistics, andapplyGCStatisticstoCriterion.Measurement. These are inteded to replaceGCStats(which has been deprecated inbaseand will be removed in GHC 8.4), as well asgetGCStatsandapplyGCStats, which have also been deprecated and will be removed in the next majorcriterionrelease. -
Add new matchers for the
--matchflag:--match pattern, which matches by searching for a given substring in benchmark paths.--match ipattern, which is like--match patternbut case-insensitive.
-
Export
Criterion.Main.Options.config. -
Export
Criterion.toBenchmarkable, which behaves like theBenchmarkableconstructor did prior tocriterion-1.2.0.0.
1.2.0.0
-
Use
statistics-0.14. -
Replace the
hastachedependency withmicrostache. -
Add support for per-run allocation/cleanup of the environment with
perRunEnvandperRunEnvWithCleanup, -
Add support for per-batch allocation/cleanup with
perBatchEnvandperBatchEnvWithCleanup. -
Add
envWithCleanup, a variant ofenvwith cleanup support. -
Add the
criterion-reportexecutable, which creates reports from previously created JSON files.
1.1.4.0
-
Unicode output is now correctly printed on Windows.
-
Add Safe Haskell annotations.
-
Add
--jsonoption for writing reports in JSON rather than binary format. Also: various bugfixes related to this. -
Use the
js-jqueryandjs-flotlibraries to substitute in JavaScript code into the default HTML report template. -
Use the
code-pagelibrary to ensure thatcriterionprints out Unicode characters (like ², whichcriterionuses in reports) in a UTF-8-compatible code page on Windows. -
Give an explicit implementation for
getin theBinary Regressioninstance. This should fix sporadiccriterionfailures with older versions ofbinary. -
Use
tastyinstead oftest-frameworkin the test suites. -
Restore support for 32-bit Intel CPUs.
-
Restore build compatibilty with GHC 7.4.
1.1.1.0
-
If a benchmark uses
Criterion.envin a non-lazy way, and you try to use--listto list benchmark names, you'll now get an understandable error message instead of something cryptic. -
We now flush stdout and stderr after printing messages, so that output is printed promptly even when piped (e.g. into a pager).
-
A new function
runModeallows custom benchmarking applications to run benchmarks with control over theModeused. -
Added support for Linux on non-Intel CPUs.
-
This version supports GHC 8.
-
The
--only-runoption for benchmarks is renamed to--iters.
1.1.0.0
-
The dependency on the either package has been dropped in favour of a dependency on transformers-compat. This greatly reduces the number of packages criterion depends on. This shouldn't affect the user-visible API.
-
The documentation claimed that environments were created only when needed, but this wasn't implemented. (gh-76)
-
The package now compiles with GHC 7.10.
-
On Windows with a non-Unicode code page, printing results used to cause a crash. (gh-55)
1.0.2.0
- Bump lower bound on optparse-applicative to 0.11 to handle yet more annoying API churn.
1.0.1.0
- Added a lower bound of 0.10 on the optparse-applicative dependency, as there were major API changes between 0.9 and 0.10.