#2790: Use -fregs-graph by default
---------------------------------+------------------------------------------
Reporter: igloo | Owner:
Type: task | Status: new
Priority: high | Milestone: 6.12.1
Component: Compiler | Version: 6.8.3
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Comment (by igloo):
Performance seems to be worse with the graph allocator.
This is a slow nofib run comparing the HEAD without and with this patch:
{{{
hunk ./compiler/nativeGen/AsmCodeGen.lhs 310
- if ( dopt Opt_RegsGraph dflags
+ if ( True
}}}
{{{
Binary Sizes
-1 s.d. ----- +0.3%
+1 s.d. ----- +0.5%
Average ----- +0.4%
Allocations
-1 s.d. ----- -0.0%
+1 s.d. ----- +0.0%
Average ----- -0.0%
Run Time
-1 s.d. ----- -0.9%
+1 s.d. ----- +10.6%
Average ----- +4.7%
Elapsed Time
-1 s.d. ----- -0.8%
+1 s.d. ----- +10.0%
Average ----- +4.4%
Mutator Time
-1 s.d. ----- -0.3%
+1 s.d. ----- +17.7%
Average ----- +8.3%
Mutator Elapsed Time
-1 s.d. ----- +0.4%
+1 s.d. ----- +15.4%
Average ----- +7.6%
GC Time
-1 s.d. ----- -6.2%
+1 s.d. ----- +4.8%
Average ----- -0.9%
GC Elapsed Time
-1 s.d. ----- -1.4%
+1 s.d. ----- +1.4%
Average ----- +0.0%
GC Work
-1 s.d. ----- -0.1%
+1 s.d. ----- +0.1%
Average ----- -0.0%
GC work balance
-1 s.d. ----- -0.0%
+1 s.d. ----- +0.0%
Average ----- -0.0%
Module Sizes
-1 s.d. ----- -0.2%
+1 s.d. ----- +0.2%
Average ----- +0.0%
Compile Times
-1 s.d. ----- -3.1%
+1 s.d. ----- +9.6%
Average ----- +3.1%
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2790#comment:6>
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