Mail Archives: djgpp/2000/06/09/19:49:08
On Fri, 9 Jun 2000, Eli Zaretskii wrote:
> > Date: Fri, 9 Jun 2000 08:05:01 +0600 (LKT)
> > From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
> >
> > The -pg causes profiling code to be included in the executable which
> > results in a noticible performance hit..so please remove it...
>
> That's not really true: all the profiling code does is to hook the
> timer tick interrupt and run a 5-line C function when the timer
> ticks. For 18 times a second, this is nowhere near a performance
> hit.
Actually what made me make this comment is that from experience I find
that a program compiled with the -pg option seems to run way slower than
the same program without any optimisations ie just the -g switch.
Grendel
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)
- Raw text -