#5505: Program runs faster with profiling than without
---------------------------+------------------------------------------------
  Reporter:  simonpj       |          Owner:  simonmar        
      Type:  bug           |         Status:  closed          
  Priority:  high          |      Milestone:  7.4.1           
 Component:  Compiler      |        Version:  7.0.3           
Resolution:  fixed         |       Keywords:                  
  Testcase:                |      Blockedby:                  
Difficulty:                |             Os:  Unknown/Multiple
  Blocking:                |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown  |  
---------------------------+------------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Results for the original `UULib` test program after the above patch:

 {{{
 > ./UULib +RTS -s
 138000
      101,854,752 bytes allocated in the heap
       38,063,512 bytes copied during GC
        9,955,944 bytes maximum residency (5 sample(s))
        2,221,040 bytes maximum slop
               24 MB total memory in use (0 MB lost due to fragmentation)

                                     Tot time (elapsed)  Avg pause  Max
 pause
   Gen  0       191 colls,     0 par    0.04s    0.04s     0.0002s
 0.0011s
   Gen  1         5 colls,     0 par    0.05s    0.05s     0.0098s
 0.0254s

   INIT    time    0.00s  (  0.00s elapsed)
   MUT     time    0.10s  (  0.10s elapsed)
   GC      time    0.09s  (  0.09s elapsed)
   EXIT    time    0.00s  (  0.00s elapsed)
   Total   time    0.20s  (  0.19s elapsed)

   %GC     time      45.5%  (46.1% elapsed)

   Alloc rate    952,278,461 bytes per MUT second

   Productivity  54.3% of total user, 54.9% of total elapsed
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5505#comment:11>
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