úÎ_ÎZdT      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN O P Q R S TGHC 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  . $A benchmarkable function or action. 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. 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. +,-.(A configuration with sensible defaults. /Constructor for UV values. 0Deconstructor for UV values. Field to access. Default to use. WX !"#$%&'()*+,-./0$#"! %)('&*-,+.0/ $#"! !"#$%)('&&'()*-,++,-./0GHC experimentalbos@serpentine.com1&A typeclass hack to match that of the Y class. Z2Print a "normal" note. 3Print verbose output. 4Print an error message. 123412431234GHC experimentalbos@serpentine.com56Plot timing data. The kind of output desired. Benchmark name.  Timing data. 7Plot kernel density estimate. The kind of output desired. Benchmark name. "Points at which KDE was computed. Kernel density estimates. [\]^?Get rid of spaces and other potentially troublesome characters  from output. 567765567GHC experimentalbos@serpentine.com8AA description of the extent to which outliers in the sample data 0 affect the sample mean and standard deviation. 9Above 50% (i.e. measurements  are useless). :Between 10% and 50%. ;Between 1% and 10%. <Less than 1% effect. =8Outliers from sample data, calculated using the boxplot  technique. >?@4More than 3 times the IQR below the first quartile. A:Between 1.5 and 3 times the IQR below the first quartile. B:Between 1.5 and 3 times the IQR above the third quartile. C4More than 3 times the IQR above the third quartile. _D>Classify outliers in a data set, using the boxplot technique. E?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. F0Count the total number of outliers in a sample. GDisplay the mean of a ` , and characterise the outliers  present in the sample. Number of iterations used to  compute the sample. HDisplay a report of the >= present in a `. 89:;<=>?@ABCDEFGH=>?@ABC8<;:9GFDHE8<;:99:;<=>?@ABC>?@ABCDEFGHGHC experimentalbos@serpentine.comI/Measured aspects of the execution environment. JKClock resolution (in seconds). L.The cost of a single clock call (in seconds). M#Measure the execution environment. IJKLMIJKLMIJKLJKLM GHC experimentalbos@serpentine.comN9Run a single benchmark, and return timings measured when  executing it. a4Run a single benchmark and analyse its performance. O*Run, and analyse, one or more benchmarks. A predicate that chooses # whether to run a benchmark by its  name.  NO  NONO GHC experimentalbos@serpentine.com bParse a plot output. cParse a plot type. dParse a confidence interval. eParse a positive number. fP3The standard options accepted on the command line. ghQParse command line options. R%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))  ]  ] S%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. iBDisplay an error message from a command line parsing failure, and  exit.  PQRS   RSPQPQRSj    !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFFGHIJKLMNOPQQRST U V W X Y Z [\][\]^_[`abcdefghij k l m n o p q r stcriterion-0.1.2Criterion.MultiMapCriterion.TypesCriterion.MeasurementCriterion.Config Criterion.IOCriterion.PlotCriterion.AnalysisCriterion.Environment CriterionCriterion.MainMultiMaptoMapfromMap singletonlookup Benchmark BenchGroup Benchmarkablerunbenchbgroup benchNamestimetime_getTime runForAtLeastsecsConfig cfgBannercfgConfInterval cfgPerformGCcfgPlot cfgPrintExit cfgResamples cfgSamples cfgVerbosityPlotTiming KernelDensity PlotOutputWindowSVGPNGPDFCSV PrintExitHelpVersionListNada VerbosityVerboseNormalQuiet defaultConfigljustfromLJNoOpnoteprolix printErrorplotWith plotTimingplotKDEOutlierVarianceSevereModerateSlight UnaffectedOutliers samplesSeen lowSeverelowMildhighMild highSevereclassifyOutliersoutlierVariance countOutliers analyseMean noteOutliers EnvironmentenvClockResolution envClockCostmeasureEnvironment runBenchmark runAndAnalysedefaultOptions parseArgs defaultMaindefaultMainWithbase Data.MonoidLast emptyConfig appendConfig Text.Printf HPrintfTypenoopwriteTo escapeCSVputRowmangle addOutliersstatistics-0.4.1Statistics.TypesSamplerunAndAnalyseOne parsePlotplotciposnoArg printBanner printUsage parseError