GNU bug report logs - #15454
24.3.50; The profiler does not show me all the run functions?

Previous Next

Package: emacs;

Reported by: "Sebastien Vauban" <sva-news <at> mygooglest.com>

Date: Tue, 24 Sep 2013 14:39:02 UTC

Severity: minor

Tags: notabug

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Sebastien Vauban <sva-news <at> mygooglest.com>
Cc: 15454 <at> debbugs.gnu.org
Subject: bug#15454: 24.3.50; The profiler does not show me all the run functions?
Date: Tue, 24 Sep 2013 18:21:50 -0400
>> The profiler is based on sampling, so it can definitely "miss" things,
>> especially if we don't spend much time in them.
> That's my experience, too.  Reducing profiler-sampling-interval usually
> helps, though.

It might.  But a sampling profiler is fundamentally not very well
adapted to the task.  `elp' or Edebug might be a better choice.

In this case, the better option is probably to M-x debug-on-entry RET
write-region RET, but of course, if you don't know that "writing a file"
goes (pretty much unavoidably) through write-region you won't come up
with this idea.


        Stefan




This bug report was last modified 11 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.