Re: [GHC] #4838: LLVM mangler takes too long at runtime

2011-02-18 Thread GHC
#4838: LLVM mangler takes too long at runtime
---+
  Reporter:  benl  |  Owner:  dterei  
  Type:  bug   | Status:  closed  
  Priority:  normal|  Milestone:  7.2.1   
 Component:  Compiler (LLVM)   |Version:  7.0.1   
Resolution:  fixed |   Keywords:  
  Testcase:|  Blockedby:  
Difficulty:| Os:  MacOS X 
  Blocking:|   Architecture:  Unknown/Multiple
   Failure:  Compile-time performance bug  |  
---+
Changes (by igloo):

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


Comment:

 Merged:
 {{{
 Sun Feb 13 01:44:06 GMT 2011  David Terei 
   * LLVM: Huge improvement to mangler speed.
   Ignore-this: 4eeaa572dfe956c990895154bd942bb2

   The old llvm mangler was horrible! Very slow
   due to bad design and code. New version is
   linear complexity as it should be and far
   lower coefficients. This fixes trac 4838.
 }}}

-- 
Ticket URL: 
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] #4838: LLVM mangler takes too long at runtime

2011-02-12 Thread GHC
#4838: LLVM mangler takes too long at runtime
-+--
Reporter:  benl  |Owner:  dterei  
Type:  bug   |   Status:  merge   
Priority:  normal|Milestone:  7.2.1   
   Component:  Compiler (LLVM)   |  Version:  7.0.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  MacOS X   | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  Compile-time performance bug
-+--
Changes (by dterei):

  * status:  new => merge


Comment:

 Fixed! Thanks for the bug report, old code was embarrassingly bad.

 The dph example you used now compiles in a little under 3 minutes. The
 mangler now only takes about 2 seconds to do its job in this case so extra
 time is all due to llvm.

-- 
Ticket URL: 
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] #4838: LLVM mangler takes too long at runtime

2011-02-02 Thread GHC
#4838: LLVM mangler takes too long at runtime
-+--
Reporter:  benl  |Owner:  dterei  
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  7.2.1   
   Component:  Compiler (LLVM)   |  Version:  7.0.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  MacOS X   | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  Compile-time performance bug
-+--

Comment(by dterei):

 Yeah there were some pretty bad design issues with the Mangler. I've just
 had an initial crack at a revision.

 Current Mangler:
 {{{
 time ./Driver WordsVect.s
 ./Driver WordsVect.s  4899.54s user 3.72s system 99% cpu 1:21:47.95 total
 }}}

 New Mangler:
 {{{
 time ./Driver WordsVect.s
 ./Driver WordsVect.s  117.79s user 0.38s system 93% cpu 2:06.15 total
 }}}

 So much better already. I still want to try a few different designs before
 I submit a patch though. Progress at long last though :)

-- 
Ticket URL: 
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] #4838: LLVM mangler takes too long at runtime

2011-02-01 Thread GHC
#4838: LLVM mangler takes too long at runtime
-+--
Reporter:  benl  |Owner:  dterei  
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  7.2.1   
   Component:  Compiler (LLVM)   |  Version:  7.0.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  MacOS X   | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  Compile-time performance bug
-+--
Changes (by dterei):

  * owner:  davidterei@… => dterei


-- 
Ticket URL: 
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] #4838: LLVM mangler takes too long at runtime

2010-12-20 Thread GHC
#4838: LLVM mangler takes too long at runtime
-+--
Reporter:  benl  |Owner:  davidte...@…
Type:  bug   |   Status:  new 
Priority:  normal|Milestone:  7.2.1   
   Component:  Compiler (LLVM)   |  Version:  7.0.1   
Keywords:| Testcase:  
   Blockedby:|   Difficulty:  
  Os:  MacOS X   | Blocking:  
Architecture:  Unknown/Multiple  |  Failure:  Compile-time performance bug
-+--
Changes (by igloo):

  * milestone:  => 7.2.1


-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler

___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs