From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#30491: 26.0; (elisp) `Profiling' Date: Tue, 20 Feb 2018 10:26:50 -0800 (PST) Message-ID: <40dde7d2-c8ad-4e99-8d2c-2b62a40aa03c@default> References: <> <<837ercc4mp.fsf@gnu.org>> <1916c70f-34de-44f4-9c0a-2e3bb7c57a49@default> <83po53bn4u.fsf@gnu.org> <3f7c7912-3f13-4644-a1e1-5310cc1250c8@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1519151384 30293 195.159.176.226 (20 Feb 2018 18:29:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2018 18:29:44 +0000 (UTC) Cc: Michael Heerdegen , 30491@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 20 19:29:39 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoCfZ-0007HG-78 for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2018 19:29:37 +0100 Original-Received: from localhost ([::1]:57166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoCha-0007kB-H8 for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2018 13:31:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoCe6-0004nG-4W for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 13:28:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoCe2-0000TC-SP for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 13:28:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45275) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoCe2-0000Sx-OH for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 13:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoCe2-0007h6-4A for bug-gnu-emacs@gnu.org; Tue, 20 Feb 2018 13:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Feb 2018 18:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30491 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30491-submit@debbugs.gnu.org id=B30491.151915122229509 (code B ref 30491); Tue, 20 Feb 2018 18:28:02 +0000 Original-Received: (at 30491) by debbugs.gnu.org; 20 Feb 2018 18:27:02 +0000 Original-Received: from localhost ([127.0.0.1]:53172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoCd4-0007fl-0H for submit@debbugs.gnu.org; Tue, 20 Feb 2018 13:27:02 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:59020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoCd2-0007fQ-V9 for 30491@debbugs.gnu.org; Tue, 20 Feb 2018 13:27:01 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w1KIMW7A117042; Tue, 20 Feb 2018 18:26:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=1OF+BeOyGrqJvDDRnAl6N+saHP6S3iNB3YUXdlwcstk=; b=bnmHEPTZXBodeWwWmwe3dtJ7FyGdfU8KHijAbmAm6Lxlz/TymqGwlrjHszD89DNz+HDU hqsuzyzUUcNvvo4ZX/eliySXwqPRBpAf4bZGg8QjO6v4oOASX6uNoymTSpwtS4YIlS4x kiqyVPiHk9Pn9KXPO4LSxT7Ke657VnojHOXIg/xCRf+3YGriTFKiUdom82brnZnlH09/ l1izo0K7+Q15gQ/5pd09OYHruSbe1Etqa68HNWX+uTJDXPWazoz7hbDlHSeFcnuc6CwW E2KlK8tTIQWTJhlcy7IPqcI/566W2bJRzHiB6etnvaEoROtr/xF/ZBwgsoAq/tgrwZxH iw== Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2130.oracle.com with ESMTP id 2g8ptb8u8a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 20 Feb 2018 18:26:53 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w1KIQqMV017930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Feb 2018 18:26:52 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w1KIQpPH007468; Tue, 20 Feb 2018 18:26:52 GMT In-Reply-To: <3f7c7912-3f13-4644-a1e1-5310cc1250c8@default> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4654.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8810 signatures=668675 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=758 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802200220 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143500 Archived-At: 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.