HEAD: Deterioration in ByteString I/O

Daniel Fischer daniel.is.fischer at web.de
Wed Sep 8 14:54:54 EDT 2010


On Wednesday 08 September 2010 18:10:26, Don Stewart wrote:
> Can you put your benchmark code somewhere?

Boiled down to the bare minimum,

module Main (main) where

import System.Environment (getArgs)
import qualified Data.ByteString.Lazy as L

main :: IO ()
main = do
    (file : _) <- getArgs
    L.readFile file >>= L.putStr


Then all you need is a file of nontrivial size (a few 10KB is enough to 
show it).

>   Likely a GHC regression.

That's what I think.


More information about the Glasgow-haskell-users mailing list