criterion
criterion copied to clipboard
A powerful but simple library for measuring the performance of Haskell code.
There is an issues with the generated page, on this function $(".olsr2lb" + number).text(function() { return rgrs.regRSquare.estLowerBound.toFixed(3); }); My haskell code I was trying to measure http://pastebin.com/kie5sn6u Here's the generated...
If a computation runs quite long, say, longer than 0.5s, then I get a result like: ``` OLS regression 544 ms 570 ms 0 s R² goodness-of-fit 0.999 0.999 xxx...
I just started experimenting with a tiny function that does some bit twiddling (compiled to a handful of instructions, ideally). It looks like ``` innerLoop :: Word8 -> Word32 ```...
Is there a reference (e.g. paper, book or blogpost) for the `outlierVariance` function? It seems to be doing something tricky, so a reference would be useful.
How coupled is the timing code from the reporting code? I'm interested in using Criterion to import/export CSVs of benchmark timings. Benchmark in Python/C/Bash/Ruby then have Criterion import the timing...
Is it possible to use the criterion analysis and reporting functions on timing data that I supply? I've tried hacking the criterion code to get this simple example to work:...
This is really important for people writing papers about Haskell who use Criterion to perform measurements. I'm helping a team that is using a modified version of Criterion to measure...
Can the tutorial be amended to include an example of how to do pre-computation before gathering benchmark data? For example, suppose my benchmark is mapping a function across several lists...
The “Documentation” links on the criterion home page (both at the bottom and in the menu bar at the top) only lead to the Hackage page http://hackage.haskell.org/package/criterion ; I cannot...
The website for criterion is linked in many places as http://www.serpentine.com/criterion, but it is offline.