packages feed

criterion 0.5.0.8 → 0.5.0.9

raw patch · 2 files changed

+17/−13 lines, 2 filesdep −parallelPVP ok

version bump matches the API change (PVP)

Dependencies removed: parallel

API changes (from Hackage documentation)

Files

Criterion/Plot.hs view
@@ -2,7 +2,7 @@  -- | -- Module      : Criterion.Plot--- Copyright   : (c) 2009, 2010 Bryan O'Sullivan+-- Copyright   : (c) 2009, 2010, 2011 Bryan O'Sullivan -- -- License     : BSD-style -- Maintainer  : bos@serpentine.com@@ -18,29 +18,32 @@     , plotWith     ) where -import Control.Monad (void) import Control.Monad.Trans (liftIO) import Criterion.Config+import Criterion.IO (printError) import Criterion.Monad (Criterion, getConfigItem)-import qualified Data.Vector.Unboxed as U import Data.Char (isSpace, toLower) import Data.Foldable (forM_) import Data.List (group, intersperse)-import Statistics.KernelDensity (Points, fromPoints) import Statistics.Function (indexed)+import Statistics.KernelDensity (Points, fromPoints) import Statistics.Types (Sample) import System.FilePath (pathSeparator) import System.IO (IOMode(..), Handle, hPutStr, withBinaryFile) import Text.Printf (printf) import qualified Criterion.MultiMap as M-import Criterion.IO (printError)+import qualified Data.Vector.Unboxed as U  #ifdef HAVE_CHART+# if MIN_VERSION_base(4,3,0)+import Control.Monad (void)+# endif+ import Data.Accessor ((^=)) import Graphics.Rendering.Chart hiding (Plot,c)-#ifdef HAVE_GTK+# ifdef HAVE_GTK import Graphics.Rendering.Chart.Gtk (renderableToWindow)-#endif+# endif #endif  plotWith :: Plot -> (PlotOutput -> IO ()) -> Criterion ()@@ -222,3 +225,8 @@        . map (replace isSpace '-' . replace (==pathSeparator) '-' . toLower)     where replace p r c | p c       = r                         | otherwise = c++#if defined(HAVE_CHART) && !MIN_VERSION_base(4,3,0)+void :: (Monad m) => m a -> m ()+void f = f >> return ()+#endif
criterion.cabal view
@@ -1,11 +1,11 @@ name:           criterion-version:        0.5.0.8+version:        0.5.0.9 synopsis:       Robust, reliable performance measurement and analysis license:        BSD3 license-file:   LICENSE author:         Bryan O'Sullivan <bos@serpentine.com> maintainer:     Bryan O'Sullivan <bos@serpentine.com>-copyright:      2009-2010 Bryan O'Sullivan+copyright:      2009, 2010, 2011 Bryan O'Sullivan category:       Development, Performance, Testing homepage:       http://bitbucket.org/bos/criterion bug-reports:    http://bitbucket.org/bos/criterion/issues@@ -58,7 +58,6 @@     filepath,     mtl,     mwc-random >= 0.8.0.3,-    parallel,     parsec >= 3.1.0,     statistics >= 0.8.0.5,     time,@@ -73,9 +72,6 @@    if flag(gtk)     cpp-options: -DHAVE_GTK--  -- gather extensive profiling data for now-  ghc-prof-options: -auto-all    ghc-options: -Wall -funbox-strict-fields   if impl(ghc >= 6.8)