profiling gnucash
Derek Atkins
warlord at MIT.EDU
Sun Aug 17 14:21:30 CDT 2003
Jon Lapham <lapham at extracta.com.br> writes:
> Derek Atkins wrote:
> > Sounds like guile is unhappy being profiled.. This is probably due to
> > the fact that guile is the "application" being executed and probably
> > is not actually initializing the profiler properly. At least that's
> > my un-educated guess.
>
> Ugh, so then the solution may be to recompile guile with -pg? Yuck.
That might be the solution; I don't know for sure. Another option is
to use a run-time profiler instead of a compile-time profiler.
> We have "--enable-profile" in the possible parameters to pass to
> configure... so I take it that at one time this worked? Or, has it
> always been that guile needed to be -pg-ified? Or, is this just some
> standard configure option and it never worked well with GnuCash?
Remember that 1.6 was compiled as a standalone application, not a
"guile script", so I suspect that the "--enable-profile" options is
from that era, and nobody actually tested it when they half-assed the
modularization effort.
> -Jon
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list