#3629: Code compiled WITHOUT profiling many times slower than compiled WITH
profiling on
---------------------------------+------------------------------------------
Reporter: gchrupala | Owner:
Type: bug | Status: infoneeded
Priority: low | Milestone: 7.2.1
Component: Compiler | Version: 6.13
Keywords: | Testcase:
Blockedby: | Difficulty: Unknown
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Compile-time performance bug
---------------------------------+------------------------------------------
Changes (by michalt):
* cc: michal.terepeta@… (added)
* failure: None/Unknown => Compile-time performance bug
* status: new => infoneeded
Comment:
Seems that the issue is fixed.
GHC 7.0.3 without profiling:
{{{
..s/ghc/3629/src-bug 0 > time ./runST > /dev/null
Iter Acc-train P-train R-train F-train Acc-test P-test
R-test F-test
1 0.7098 0.7836 0.3571 0.4907 0.7098 0.7836
0.3571 0.4907
real 0m9.713s
user 0m9.670s
sys 0m0.010s
}}}
GHC 7.0.3 with profiling:
{{{
..s/ghc/3629/src-bug 0 > time ./runST > /dev/null
Iter Acc-train P-train R-train F-train Acc-test P-test
R-test F-test
1 0.7098 0.7836 0.3571 0.4907 0.7098 0.7836
0.3571 0.4907
real 0m19.390s
user 0m19.290s
sys 0m0.040s
}}}
And on current HEAD without profiling:
{{{
..s/ghc/3629/src-bug 1 > time ./runST > /dev/null
Iter Acc-train P-train R-train F-train Acc-test P-test
R-test F-test
1 0.7098 0.7836 0.3571 0.4907 0.7098 0.7836
0.3571 0.4907
real 0m6.792s
user 0m6.700s
sys 0m0.070s
}}}
I don't have hmatrix installed (it requires some external libraries) so I
didn't
check the other example --- it would be great if someone could try it.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3629#comment:12>
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