[GHC] #6000: Performance of Fibonnaci compare to Python

GHC cvs-ghc at haskell.org
Thu Apr 12 13:07:39 CEST 2012


#6000: Performance of Fibonnaci compare to Python
--------------------------------------+-------------------------------------
  Reporter:  guest                    |          Owner:                     
      Type:  bug                      |         Status:  closed             
  Priority:  normal                   |      Milestone:                     
 Component:  Compiler                 |        Version:  7.4.1              
Resolution:  worksforme               |       Keywords:  python, performance
        Os:  Linux                    |   Architecture:  x86_64 (amd64)     
   Failure:  Runtime performance bug  |     Difficulty:  Unknown            
  Testcase:                           |      Blockedby:                     
  Blocking:                           |        Related:                     
--------------------------------------+-------------------------------------
Changes (by simonmar):

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


Comment:

 My results on `x86_64-unknown-linux` with 7.4.1:

 {{{
 $ ghc -O2 6000.hs
 $ time ./6000
 12.76s real   12.66s user   0.10s system   99% ./6000

 $ time python 6000.py
 24.64s real   24.54s user   0.10s system   99% python 6000.py
 }}}

 Are you sure you compiled with -O2?

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



More information about the Glasgow-haskell-bugs mailing list