unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* M-x profiler-report does nothing
@ 2012-10-01  9:53 Eli Zaretskii
  2012-10-01 10:39 ` Tomohiro Matsuyama
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2012-10-01  9:53 UTC (permalink / raw)
  To: Tomohiro Matsuyama; +Cc: emacs-devel

Since today, this sequence:

  M-x profiler-start RET RET
  M-x profiler-stop RET
  M-x profiler-report RET

produces nothing.  Yesterday, I would get the results of profiling.

What happened?  It looks like now one can get the results only as long
as the profiler is running?  Why?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: M-x profiler-report does nothing
  2012-10-01  9:53 M-x profiler-report does nothing Eli Zaretskii
@ 2012-10-01 10:39 ` Tomohiro Matsuyama
  2012-10-01 10:43   ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Tomohiro Matsuyama @ 2012-10-01 10:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

> Since today, this sequence:
> 
>   M-x profiler-start RET RET
>   M-x profiler-stop RET
>   M-x profiler-report RET
> 
> produces nothing.  Yesterday, I would get the results of profiling.
> 
> What happened?  It looks like now one can get the results only as long
> as the profiler is running?  Why?
My first implementation had profiler-reset function to delegate a responsibility
to clear the profiler log.  But for now, profiler-stop and profiler-report reset
the profiler log internally, so you got nothing.

    Tomohiro



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: M-x profiler-report does nothing
  2012-10-01 10:39 ` Tomohiro Matsuyama
@ 2012-10-01 10:43   ` Eli Zaretskii
  2012-10-01 11:20     ` Tomohiro Matsuyama
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2012-10-01 10:43 UTC (permalink / raw)
  To: Tomohiro Matsuyama; +Cc: emacs-devel

> Date: Mon, 1 Oct 2012 19:39:09 +0900
> From: Tomohiro Matsuyama <tomo@cx4a.org>
> Cc: emacs-devel@gnu.org
> 
> > Since today, this sequence:
> > 
> >   M-x profiler-start RET RET
> >   M-x profiler-stop RET
> >   M-x profiler-report RET
> > 
> > produces nothing.  Yesterday, I would get the results of profiling.
> > 
> > What happened?  It looks like now one can get the results only as long
> > as the profiler is running?  Why?
> My first implementation had profiler-reset function to delegate a responsibility
> to clear the profiler log.  But for now, profiler-stop and profiler-report reset
> the profiler log internally, so you got nothing.

Is it wise to remove the profile when the user invokes profiler-stop?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: M-x profiler-report does nothing
  2012-10-01 10:43   ` Eli Zaretskii
@ 2012-10-01 11:20     ` Tomohiro Matsuyama
  0 siblings, 0 replies; 4+ messages in thread
From: Tomohiro Matsuyama @ 2012-10-01 11:20 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

On Mon, 01 Oct 2012 12:43:30 +0200
Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Mon, 1 Oct 2012 19:39:09 +0900
> > From: Tomohiro Matsuyama <tomo@cx4a.org>
> > Cc: emacs-devel@gnu.org
> > 
> > > Since today, this sequence:
> > > 
> > >   M-x profiler-start RET RET
> > >   M-x profiler-stop RET
> > >   M-x profiler-report RET
> > > 
> > > produces nothing.  Yesterday, I would get the results of profiling.
> > > 
> > > What happened?  It looks like now one can get the results only as long
> > > as the profiler is running?  Why?
> > My first implementation had profiler-reset function to delegate a responsibility
> > to clear the profiler log.  But for now, profiler-stop and profiler-report reset
> > the profiler log internally, so you got nothing.
> 
> Is it wise to remove the profile when the user invokes profiler-stop?
I don't think so.  Give me more time to fix this flaw.

    Tomohiro



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-01 11:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-01  9:53 M-x profiler-report does nothing Eli Zaretskii
2012-10-01 10:39 ` Tomohiro Matsuyama
2012-10-01 10:43   ` Eli Zaretskii
2012-10-01 11:20     ` Tomohiro Matsuyama

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).