packages feed

conduit 1.0.15 → 1.0.15.1

raw patch · 2 files changed

+25/−2 lines, 2 filesdep ~basedep ~bytestringdep ~text

Dependency ranges changed: base, bytestring, text, text-stream-decode

Files

+ benchmarks/utf8-memory-usage.hs view
@@ -0,0 +1,12 @@+{-# LANGUAGE OverloadedStrings #-}+import           Control.Monad     (replicateM_)+import           Data.ByteString   (ByteString)+import           Data.Conduit+import qualified Data.Conduit.List as CL+import           Data.Conduit.Text (decode, utf8)++src :: Source IO ByteString+src = replicateM_ 1000000 $ yield "Hello World!\n"++main :: IO ()+main = src $$ decode utf8 =$ CL.sinkNull
conduit.cabal view
@@ -1,5 +1,5 @@ Name:                conduit-Version:             1.0.15+Version:             1.0.15.1 Synopsis:            Streaming data processing library. Description:     @conduit@ is a solution to the streaming data problem, allowing for production, transformation, and consumption of streams of data in constant memory. It is an alternative to lazy I\/O which guarantees deterministic resource handling, and fits in the same general solution space as @enumerator@\/@iteratee@ and @pipes@. For a tutorial, please visit <https://haskell.fpcomplete.com/user/snoyberg/library-documentation/conduit-overview>.@@ -62,7 +62,7 @@                      , mmorph                      , directory                      , text                     >= 0.11-                     , text-stream-decode+                     , text-stream-decode       >= 0.1.0.4      && < 0.2   ghc-options:     -Wall  test-suite test@@ -89,6 +89,17 @@ --    type: exitcode-stdio-1.0 --    ghc-options: -threaded --    build-depends: base, directory, doctest >= 0.8++benchmark utf8-memory-usage+    type: exitcode-stdio-1.0+    hs-source-dirs: benchmarks+    build-depends:  base+                  , text-stream-decode+                  , bytestring+                  , text+                  , conduit+    main-is:        utf8-memory-usage.hs+    ghc-options:    -Wall -O2 -with-rtsopts=-s  source-repository head   type:     git