#5536: IO performance regression in 7.2 vs 7.0
---------------------------------+------------------------------------------
    Reporter:  simonmar          |        Owner:  batterseapower
        Type:  bug               |       Status:  new           
    Priority:  high              |    Milestone:  7.4.1         
   Component:  libraries/base    |      Version:  7.2.1         
    Keywords:                    |     Testcase:                
   Blockedby:                    |   Difficulty:                
          Os:  Unknown/Multiple  |     Blocking:                
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown  
---------------------------------+------------------------------------------

Comment(by batterseapower):

 Removing the extra tests get us back to 7.0.4 performance (in fact, a bit
 better) so this is indeed the source of the problem. I can't see any
 further easy improvements. Perhaps we could avoid doing the
 surrogatify/desurrogatify steps in writeBlocks/unpack for a corresponding
 Handle in binary mode. Then when switching from binary to non-binary mode
 and vice-versa we would need to do the correct transformation to fix up
 any buffered characters.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to