packages feed

criterion 0.5.0.0 → 0.5.0.1

raw patch · 4 files changed

+12/−11 lines, 4 filesdep ~Chartsetup-changedPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: Chart

API changes (from Hackage documentation)

Files

Criterion/Plot.hs view
@@ -130,12 +130,12 @@     bottomAxis = laxis_title ^= "number of samples"                $ defaultLayoutAxis -    bars = plot_bars_values ^= (zip [0.5,1.5..] . map (:[]) . fromU $ times)+    bars = plot_bars_values ^= (zip [0.5,1.5..] . map (:[]) . U.toList $ times)          $ plot_bars_item_styles ^= [ (solidFillStyle c, Nothing) | c <- defaultColorSeq ]-         $ plot_bars_spacing ^= BarsFixGap 0+         $ plot_bars_spacing ^= BarsFixGap 0 2          $ defaultPlotBars -renderKDE :: String -> Maybe (Double :*: Double) -> Points -> UArr Double+renderKDE :: String -> Maybe (Double, Double) -> Points -> U.Vector Double           -> Renderable () renderKDE desc exs points pdf = toRenderable layout   where@@ -154,13 +154,13 @@                $ defaultLayoutAxis      semiAutoScaledAxis opts ps = autoScaledAxis opts (extremities ++ ps)-    extremities = maybe [] (\(lo :*: hi) -> [lo, hi]) exs+    extremities = maybe [] (\(lo, hi) -> [lo, hi]) exs -    info = plot_lines_values ^= [zip (fromU (fromPoints points)) (fromU spdf)]+    info = plot_lines_values ^= [zip (U.toList (fromPoints points)) (U.toList spdf)]          $ defaultPlotLines      -- Normalise the PDF estimates into a semi-sane range.-    spdf = mapU (/ sumU pdf) pdf+    spdf = U.map (/ U.sum pdf) pdf  -- | An axis whose labels display as seconds (or fractions thereof). secAxis :: LinearAxisParams Double
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
+ Setup.lhs view
@@ -0,0 +1,3 @@+#!/usr/bin/env runhaskell+> import Distribution.Simple+> main = defaultMain
criterion.cabal view
@@ -1,5 +1,5 @@ name:           criterion-version:        0.5.0.0+version:        0.5.0.1 synopsis:       Robust, reliable performance measurement and analysis license:        BSD3 license-file:   LICENSE@@ -61,14 +61,14 @@    if flag(chart)     build-depends:-      Chart >= 0.12,+      Chart >= 0.13 && < 0.14,       data-accessor     cpp-options: -DHAVE_CHART    -- gather extensive profiling data for now   ghc-prof-options: -auto-all -  ghc-options: -Wall -funbox-strict-fields -O2+  ghc-options: -Wall -funbox-strict-fields   if impl(ghc >= 6.8)     ghc-options: -fwarn-tabs   if impl(ghc >= 6.12)