Subject: bug#68693: closed (Re: bug#68693: 26.3; (elisp) `Profiling': Say how to use (e.g. read) a saved profile)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 24 Jan 2024 19:37:02 +0000

Your bug report

#68693: 26.3; (elisp) `Profiling': Say how to use (e.g. read) a saved profile

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
68693: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68693
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#68693: 26.3; (elisp) `Profiling': Say how to use (e.g. read) a saved profile
From: Eli Zaretskii <[email-masked]>
To: Drew Adams <[email-masked]>
Cc: [email-masked]
Date: Wed, 24 Jan 2024 21:36:05 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Drew Adams <[email-masked]>
> Date: Wed, 24 Jan 2024 17:48:17 +0000
> 
> The node says only this:
> 
>   You can save a profile to a file using 'C-x C-w'.
> 
> The doc says nothing about how to make use of such a saved profile, in
> particular, how to read it into the profiler UI again.

Thanks, fixed on the emacs-29 branch.

> I naively tried visiting the file and then `M-x
> profiler-report-mode'. But that just showed a single line of 68K
> characters.

Use "M-x profiler-find-profile".

Subject: 26.3; (elisp) `Profiling': Say how to use (e.g. read) a saved profile
From: Drew Adams <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Wed, 24 Jan 2024 17:48:17 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

The node says only this:

  You can save a profile to a file using 'C-x C-w'.

The doc says nothing about how to make use of such a saved profile, in
particular, how to read it into the profiler UI again.

I naively tried visiting the file and then `M-x
profiler-report-mode'. But that just showed a single line of 68K
characters.

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.19045
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''