benchpress 0.2.2.2 → 0.2.2.3
raw patch · 2 files changed
+9/−9 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Test/BenchPress.hs +8/−8
- benchpress.cabal +1/−1
Test/BenchPress.hs view
@@ -95,13 +95,13 @@ } ys = sort wallTimes wallStats = Stats- { min = head ys- , mean = Math.mean ys- , stddev = Math.stddev ys- , median = Math.median ys- , max = last ys- , percentiles = percentiles' ys- }+ { min = head ys+ , mean = Math.mean ys+ , stddev = Math.stddev ys+ , median = Math.median ys+ , max = last ys+ , percentiles = percentiles' ys+ } return (cpuStats, wallStats) where go 0 = return []@@ -123,7 +123,7 @@ -- to standard output. bench :: Int -> IO a -> IO () bench iters action = do- (_, stats) <- benchmark iters (return ()) (const $ return ()) (const action)+ (stats, _) <- benchmark iters (return ()) (const $ return ()) (const action) printDetailedStats stats -- | Convenience function that runs several benchmarks using
benchpress.cabal view
@@ -1,5 +1,5 @@ name: benchpress-version: 0.2.2.2+version: 0.2.2.3 synopsis: Micro-benchmarking with detailed statistics. Description: Benchmarks actions and produces statistics such as min, mean, median, standard deviation,