gap\      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQ R S T U V W X Y Z [ \GHC experimentalbos@serpentine.com +A benchmark may consist of either a single   item  with a name, created with  ", or a (possibly nested) group of  s, created with  . AA container for a pure function to benchmark, and an argument to ) supply to it each time it is evaluated. $A benchmarkable function or action. 8Run a function or action the specified number of times. %The function or action to benchmark. +The number of times to run or evaluate it. Create a single benchmark. "A name to identify the benchmark. 7Group several benchmarks together under a common name. ,A name to identify the group of benchmarks. %Benchmarks to group under this name. >Retrieve the names of all benchmarks. Grouped benchmarks are ) prefixed with the name of the group they're in.       GHC experimentalbos@serpentine.com#!Top-level program configuration. The "version" banner to print. Confidence interval to use. &Whether to run the GC between passes. What to plot, and where. 'Whether to print information and exit.  Number of resamples to perform. Number of samples to collect. Filename of summary CSV Whether to run verbosely. What to plot. !Benchmark timings. "*Kernel density estimate of probabilities. #BSupported plot outputs. Some outputs support width and height in  varying units. A point is 1/72 of an inch (0.353mm). $+Display in a window, dimensions in pixels. % SVG file, dimensions in points. & PNG file, dimensions in pixels. ' PDF file, dimensions in points. (Textual CSV file. )APrint some information and exit, without running any benchmarks. * Print a help/usaage message. +&Print version information (if known). ,"Print a list of known benchmarks. -+Do not actually print-and-exit. (Default.) .-Control the amount of information displayed. /012(A configuration with sensible defaults. 3Constructor for ]^ values. 4Deconstructor for ]^ values. Field to access. Default to use. _`! !"#$%&'()*+,-./01234!#('&%$ "!)-,+*.10/243!  "!!"#('&%$$%&'()-,+**+,-.10//01234GHC experimentalbos@serpentine.com51The monad in which most criterion code executes. ab678567856785678GHC experimentalbos@serpentine.com cdefg9Print a "normal" note. :Print verbose output. ;Print an error message. <#Add to summary CSV (if applicable) 9:;<9;:<9:;<GHC experimentalbos@serpentine.com=>Plot timing data. The kind of output desired. Benchmark name.  Timing data. ?Plot kernel density estimate. The kind of output desired. Benchmark name. Range of x-axis "Points at which KDE was computed. Kernel density estimates. hijk?Get rid of spaces and other potentially troublesome characters  from output. =>??>==>?GHC experimentalbos@serpentine.com@AA description of the extent to which outliers in the sample data 0 affect the sample mean and standard deviation. AAbove 50% (i.e. measurements  are useless). BBetween 10% and 50%. CBetween 1% and 10%. DLess than 1% effect. E8Outliers from sample data, calculated using the boxplot  technique. FGH4More than 3 times the IQR below the first quartile. I:Between 1.5 and 3 times the IQR below the first quartile. J:Between 1.5 and 3 times the IQR above the third quartile. K4More than 3 times the IQR above the third quartile. lL>Classify outliers in a data set, using the boxplot technique. M?Compute the extent to which outliers in the sample data affect ) the sample mean and standard deviation. #Bootstrap estimate of sample mean. Bootstrap estimate of sample  standard deviation. Number of original iterations. N0Count the total number of outliers in a sample. ODisplay the mean of a m , and characterise the outliers  present in the sample. Number of iterations used to  compute the sample. PDisplay a report of the FE present in a m. @ABCDEFGHIJKLMNOPEFGHIJK@DCBAONLPM@DCBAABCDEFGHIJKFGHIJKLMNOP GHC experimentalbos@serpentine.comQ/Measured aspects of the execution environment. RSClock resolution (in seconds). T.The cost of a single clock call (in seconds). U#Measure the execution environment. QRSTUQRSTUQRSTRSTU GHC experimentalbos@serpentine.comV9Run a single benchmark, and return timings measured when  executing it. n4Run a single benchmark and analyse its performance. oW*Run, and analyse, one or more benchmarks. A predicate that chooses # whether to run a benchmark by its  name.  VW  VWVW GHC experimentalbos@serpentine.com pParse a plot output. qParse a plot type. rParse a confidence interval. sParse a positive number. tX3The standard options accepted on the command line. uvYParse command line options. Z%An entry point that can be used as a main function.  import Criterion.Main   fib :: Int -> Int  fib 0 = 0  fib 1 = 1  fib n = fib (n-1) + fib (n-2)   main = defaultMain [ < bgroup "fib" [ bench "fib 10" $ \n -> fib (10+n-n)) < , bench "fib 35" $ \n -> fib (35+n-n)) < , bench "fib 37" $ \n -> fib (37+n-n))  ]  ] [%An entry point that can be used as a main function, with  configurable defaults.  Example:  import Criterion.Config * import qualified Criterion.MultiMap as M   myConfig = defaultConfig { ? -- Always display an 800x600 window with curves. C cfgPlot = M.singleton KernelDensity (Window 800 600)  }  # main = defaultMainWith myConfig [ 5 bench "fib 30" $ \(n::Int) -> fib (30+n-n)  ] !If you save the above example as "Fib.hs", you should be able  to compile it as follows:  ghc -O --make Fib Run " Fib --help". on the command line to get a list of command  line options. wBDisplay an error message from a command line parsing failure, and  exit.  XYZ[  Z[XYXYZ[x   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNNOPQRSTUVWX Y Y Z [ \ ] ^ _ ` a b cdecdefg>hijkklmnopqrst u v w x y z { | } ~criterion-0.2.0Criterion.MultiMapCriterion.TypesCriterion.MeasurementCriterion.ConfigCriterion.Monad Criterion.IOCriterion.PlotCriterion.AnalysisCriterion.Environment CriterionCriterion.MainMultiMaptoMapfromMap singletonlookup Benchmark BenchGroupB Benchmarkablerunbenchbgroup benchNamestimetime_getTime runForAtLeastsecsConfig cfgBannercfgConfInterval cfgPerformGCcfgPlotcfgPlotSameAxis cfgPrintExit cfgResamples cfgSamplescfgSummaryFile cfgVerbosityPlotTiming KernelDensity PlotOutputWindowSVGPNGPDFCSV PrintExitHelpVersionListNada VerbosityVerboseNormalQuiet defaultConfigljustfromLJConfigM getConfig getConfigItem withConfignoteprolix printErrorsummaryplotWith plotTimingplotKDEOutlierVarianceSevereModerateSlight UnaffectedOutliers samplesSeen lowSeverelowMildhighMild highSevereclassifyOutliersoutlierVariance countOutliers analyseMean noteOutliers EnvironmentenvClockResolution envClockCostmeasureEnvironment runBenchmark runAndAnalysedefaultOptions parseArgs defaultMaindefaultMainWithbase Data.MonoidLast emptyConfig appendConfig runConfigMCritHPrintfType chPrintfImpl PrintfContchPrintfwriteTo escapeCSVputRowmangle addOutliersstatistics-0.4.1Statistics.TypesSamplerunAndAnalyseOneplotAll parsePlotplotciposnoArg printBanner printUsage parseError