unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, 30491@debbugs.gnu.org
Subject: bug#30491: 26.0; (elisp) `Profiling'
Date: Tue, 20 Feb 2018 10:26:50 -0800 (PST)	[thread overview]
Message-ID: <40dde7d2-c8ad-4e99-8d2c-2b62a40aa03c@default> (raw)
In-Reply-To: <3f7c7912-3f13-4644-a1e1-5310cc1250c8@default>

Other UX problems I see with `profiler-report-mode'.  #1 is the
greatest annoyance, to me.

1. There should be an easy way to expand the tree space horizontally,
   to eliminate eliding (`...').  When I use the profiler the code
   that I really want to see is too often completely missing - it's
   hidden by `...'.  How to show it?

   To work around this limitation I found myself tweaking variables
   `profiler-report-(cpu|memory)-line-format' to increase the `left'
   value, which is ridiculous.

   Is there a better way to expand/expose the elided entries?
   I was hoping that maybe command `profiler-report-expand-entry'
   would do the job, but it doesn't.  Expanding for that command
   means exposing but not widening the field (column) so that an
   elided entry is shown.

2. Command `profiler-report-expand-entry' with a prefix arg does
   not do what its doc string says - it does not expand the whole
   subtree.  It expands the subtree at point only if the current
   line has a `+' sign.  So if the current line has `-' instead,
   and if some lines under it (in its subtree) have `+', those
   `+' lines are not expanded.

   I think it should do what its doc says, or at least that some
   command should do that.

3. Commands `profiler-find-profile(-other-(window|frame))' should
   maybe be bound to keys.  They complement function
   `profiler-report-write-profile'.  They should at least be added
   to menu-bar menu `Profiler'.  They let you move to a different
   (saved) profiler report.





  reply	other threads:[~2018-02-20 18:26 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<d0e242c5-d77b-407e-a2a9-f60b3a48fcef@default>
     [not found] ` <<837ercc4mp.fsf@gnu.org>
2018-02-17 15:45   ` bug#30491: 26.0; (elisp) `Profiling' Drew Adams
2018-02-17 16:16     ` Noam Postavsky
2018-02-17 16:24     ` Eli Zaretskii
2018-02-18 17:36       ` Drew Adams
2018-02-20 18:26         ` Drew Adams [this message]
2021-10-23 17:01       ` Stefan Kangas
2021-10-23 18:18         ` bug#30491: [External] : " Drew Adams
2021-10-23 18:36           ` Stefan Kangas
2021-10-23 19:06             ` Drew Adams
2021-10-23 19:14             ` Eli Zaretskii
2021-10-23 19:38               ` Drew Adams
2021-10-24  5:49                 ` Eli Zaretskii
2021-10-23 21:13               ` Stefan Kangas
2021-10-23 19:12           ` Eli Zaretskii
2018-02-18 15:52     ` Drew Adams
2018-02-18 16:22       ` Drew Adams
2018-02-16 18:11 Drew Adams
2018-02-16 18:15 ` Drew Adams
2018-02-17 10:06 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40dde7d2-c8ad-4e99-8d2c-2b62a40aa03c@default \
    --to=drew.adams@oracle.com \
    --cc=30491@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=michael_heerdegen@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).