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

GHC cvs-ghc at haskell.org
Thu Apr 12 04:25:09 CEST 2012


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

Comment(by tibbe):

 I can't reproduce your results:

 {{{
 $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.4.1
 $ ghc -O2 fibs.hs
 [1 of 1] Compiling Main             ( fibs.hs, fibs.o )
 Linking fibs ...
 $ time ./fibs

 real    0m6.715s
 user    0m6.605s
 sys     0m0.107s
 $ time python pyfib.py
 <snip>

 real    0m13.701s
 user    0m13.559s
 sys     0m0.071s
 }}}

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



More information about the Glasgow-haskell-bugs mailing list