Mail Archives: djgpp/1997/05/23/16:03:48
Edward Mueller (Ed DOT Mueller AT itg DOT ti DOT com) wrote:
: When I use -pg to compile/link, the resulting executable runs so slowly
: I thought my machine was hung. Any way to make profiling (mcount) not
: take up so much time? I'm using the version of mcount.c that doesn't call
: mono_printf. I also tried setting the interrupt interval to 65535 instead of
: 5494. Thanks.
Hmmm, I thought: "Let's tell him about the mcount-bug", but if you say
that's fixed... If nothing else works, try compiling with -O2 or -O3
(it _does_ work with -pg), maybe with -minline-functions. This gets
rid of much of the function calls, which might speed things up, but
this also means you can't profile those functions.
I hope someone else has got a better answer for you :)
--
Groeten, Michel. http://www.cs.vu.nl/~mdruiter
\----/==\----/
\ / \ / "Als je voetbalcriminaliteit wilt tegengaan,
\/ \/ moet je ophouden met voetballen", Nordholt.
- Raw text -