Re: [GHC] #2609: Compiling with -O2 is 7x slower than -O

2010-06-24 Thread GHC
#2609: Compiling with -O2 is 7x slower than -O
---+
  Reporter:  simonpj   |  Owner:  
  Type:  bug   | Status:  closed  
  Priority:  low   |  Milestone:  6.14.1  
 Component:  Compiler  |Version:  6.8.3   
Resolution:  fixed |   Keywords:  
Difficulty:  Unknown   | Os:  Unknown/Multiple
  Testcase:|   Architecture:  Unknown/Multiple
   Failure:  Compile-time performance bug  |  
---+
Changes (by igloo):

  * status:  new = closed
  * resolution:  = fixed


Comment:

 `-fvia-C` is now deprecated.

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


Re: [GHC] #2609: Compiling with -O2 is 7x slower than -O

2008-09-25 Thread GHC
#2609: Compiling with -O2 is 7x slower than -O
--+-
 Reporter:  simonpj   |  Owner: 
 Type:  compile-time performance bug  | Status:  new
 Priority:  normal|  Milestone:  6.12 branch
Component:  Compiler  |Version:  6.8.3  
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Changes (by igloo):

  * milestone:  = 6.12 branch

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


Re: [GHC] #2609: Compiling with -O2 is 7x slower than -O

2008-09-20 Thread GHC
#2609: Compiling with -O2 is 7x slower than -O
--+-
 Reporter:  simonpj   |  Owner: 
 Type:  compile-time performance bug  | Status:  new
 Priority:  normal|  Milestone: 
Component:  Compiler  |Version:  6.8.3  
 Severity:  normal| Resolution: 
 Keywords:| Difficulty:  Unknown
 Testcase:|   Architecture:  Unknown
   Os:  Unknown   |  
--+-
Comment (by simonpj):

 Ah, this seems to be to do with `-fviaC` ''not'' to do with `-O2`. Serge
 writes:

 With  -O2,  the compile time is ok, but when I add  -fvia-C,  it takes 7
 times longer
 -- this is for  ghc-6.9-earlySeptember  to compile  !DoCon-2.12-pre.

 You do not control over the speed of  gcc  itself. But a small change in
 the GHC compiler may, in principle, lead to many times faster compilation
 by  gcc  of the code produced by GHC. This may occur some problem in GHC
 as well as some problem in gcc.

 This is only my observation, I do not pretend for a bug report in this
 case. I tried  -fvia-C  for curiosity:
 by occasion, would it increase the code performance?.
 If this ratio of 7 looks curious to you, you could investigate this.

 And personally, I am satisfied with  -O (without via-C).

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


[GHC] #2609: Compiling with -O2 is 7x slower than -O

2008-09-18 Thread GHC
#2609: Compiling with -O2 is 7x slower than -O
-+--
Reporter:  simonpj   |   Owner: 
Type:  compile-time performance bug  |  Status:  new
Priority:  normal|   Milestone: 
   Component:  Compiler  | Version:  6.8.3  
Severity:  normal|Keywords: 
  Difficulty:  Unknown   |Testcase: 
Architecture:  Unknown   |  Os:  Unknown
-+--
 Serge writes that compiling !DoCon with `-O2 -fvia-C` does not gain more
 performance, but leads to 7 times longer compilation.  That seems a big
 slow down, worth looking into.

 The offending !DoCon bundle is attached

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