bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23845: 25.0.95; Profiler has hard-coded window-width limits


From: Eli Zaretskii
Subject: bug#23845: 25.0.95; Profiler has hard-coded window-width limits
Date: Sat, 25 Jun 2016 13:41:20 +0300

Profiler reports are rendered using hard-coded width assumptions for
the window where the profile will be displayed:

  (defvar profiler-report-cpu-line-format
    '((50 left)
      (24 right ((19 right)
                 (5 right)))))

  (defvar profiler-report-memory-line-format
    '((55 left)
      (19 right ((14 right profiler-format-number)
                 (5 right)))))

This gets in the way when the profile is expanded, if the call tree is
so deep that the indentation of inner functions leaves no space for
their names -- in that case, the functions are not displayed in the
profile, and their names are replaced with an unhelpful ellipsis.

Making the profile adapt its width to the width of the frame will
allow the user to resize the frame and re-display the profile so as to
see the inner functions.  Alternatively, some user option to be used
as the width for rendering the profile might be another solution to
this problem.

In any case, there should be some way of displaying arbitrary deep
profiles in a way that the function names are readable in their
entirety.


In GNU Emacs 25.0.95.13 (i686-pc-mingw32)
 of 2016-06-23 built on HOME-C4E4A596F7
Repository revision: ab0ebb93a9c69f4a0cc475ed899f8cabb64852c0
Windowing system distributor 'Microsoft Corp.', version 5.1.2600
Configured using:
 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int
 --with-modules 'CFLAGS=-O0 -gdwarf-4 -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS MODULES

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1255

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote w32notify w32 multi-tty
make-network-process emacs)

Memory information:
((conses 16 93387 5962)
 (symbols 56 20751 0)
 (miscs 48 36 107)
 (strings 16 17763 6240)
 (string-bytes 1 440286)
 (vectors 16 12421)
 (vector-slots 8 430438 4709)
 (floats 8 162 169)
 (intervals 40 262 119)
 (buffers 856 11))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]