#7418: Writing to stderr is 7x slower than writing to stdout
------------------------------------+---------------------------------------
Reporter:  SimonHengel              |          Owner:                
    Type:  bug                      |         Status:  new           
Priority:  normal                   |      Component:  Runtime System
 Version:  7.6.1                    |       Keywords:                
      Os:  Linux                    |   Architecture:  x86_64 (amd64)
 Failure:  Runtime performance bug  |      Blockedby:                
Blocking:                           |        Related:                
------------------------------------+---------------------------------------

Comment(by parcs):

 By default `stdout` is buffered and `stderr` is not. If you do
 `hSetBuffering stderr LineBuffering` in the second program then it's just
 as fast as the first program.

 QuickCheck should probably be patched to enable buffering on `stderr`.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7418#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to