criterion 0.5.0.7 → 0.5.0.8
raw patch · 2 files changed
+14/−13 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Criterion/Plot.hs +13/−12
- criterion.cabal +1/−1
Criterion/Plot.hs view
@@ -18,6 +18,7 @@ , plotWith ) where +import Control.Monad (void) import Control.Monad.Trans (liftIO) import Criterion.Config import Criterion.Monad (Criterion, getConfigItem)@@ -59,22 +60,22 @@ putRow h [show x, show y] #ifdef HAVE_CHART-plotTiming (PDF x y) desc times =+plotTiming (PDF x y) desc times = void $ renderableToPDFFile (renderTiming desc times) x y (mangle $ printf "%s timings %dx%d.pdf" desc x y) -plotTiming (PNG x y) desc times =+plotTiming (PNG x y) desc times = void $ renderableToPNGFile (renderTiming desc times) x y (mangle $ printf "%s timings %dx%d.png" desc x y) -plotTiming (SVG x y) desc times =+plotTiming (SVG x y) desc times = void $ renderableToSVGFile (renderTiming desc times) x y (mangle $ printf "%s timings %dx%d.svg" desc x y) -#ifdef HAVE_GTK-plotTiming (Window x y) desc times =+# ifdef HAVE_GTK+plotTiming (Window x y) desc times = void $ renderableToWindow (renderTiming desc times) x y-#endif+# endif #endif plotTiming output _desc _times =@@ -96,22 +97,22 @@ putRow h [show x, show y] #ifdef HAVE_CHART-plotKDE (PDF x y) desc exs points pdf =+plotKDE (PDF x y) desc exs points pdf = void $ renderableToPDFFile (renderKDE desc exs points pdf) x y (mangle $ printf "%s densities %dx%d.pdf" desc x y) -plotKDE (PNG x y) desc exs points pdf =+plotKDE (PNG x y) desc exs points pdf = void $ renderableToPNGFile (renderKDE desc exs points pdf) x y (mangle $ printf "%s densities %dx%d.png" desc x y) -plotKDE (SVG x y) desc exs points pdf =+plotKDE (SVG x y) desc exs points pdf = void $ renderableToSVGFile (renderKDE desc exs points pdf) x y (mangle $ printf "%s densities %dx%d.svg" desc x y) -#ifdef HAVE_GTK-plotKDE (Window x y) desc exs points pdf =+# ifdef HAVE_GTK+plotKDE (Window x y) desc exs points pdf = void $ renderableToWindow (renderKDE desc exs points pdf) x y-#endif+# endif #endif plotKDE output _desc _exs _points _pdf =
criterion.cabal view
@@ -1,5 +1,5 @@ name: criterion-version: 0.5.0.7+version: 0.5.0.8 synopsis: Robust, reliable performance measurement and analysis license: BSD3 license-file: LICENSE