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

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

[debbugs-tracker] bug#11657: closed (24.1.50; Byte compiler is a lot slo


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#11657: closed (24.1.50; Byte compiler is a lot slower now, when run interpreted)
Date: Mon, 25 Jun 2012 01:07:01 +0000

Your message dated Sun, 24 Jun 2012 21:02:34 -0400
with message-id <address@hidden>
and subject line Re: bug#11657: 24.1.50; Byte compiler is a lot slower now, 
when run interpreted
has caused the debbugs.gnu.org bug report #11657,
regarding 24.1.50; Byte compiler is a lot slower now, when run interpreted
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
11657: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11657
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.1.50; Byte compiler is a lot slower now, when run interpreted Date: Sat, 09 Jun 2012 14:30:43 +0300
This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

The byte compiler seems to be a lot slower now, when run interpreted,
compared with how it was a couple of weeks ago.  With the current
trunk:

  D:\gnu\bzr\emacs\trunk\lisp>timep ..\bin\bootstrap-emacs -batch -f 
batch-byte-compile org\org.el

  In toplevel form:
  org/org.el:4874:1:Warning: global/dynamic var `entry' lacks a prefix
  org/org.el:4876:1:Warning: global/dynamic var `date' lacks a prefix
  Wrote d:/gnu/bzr/emacs/trunk/lisp/org/org.elc

  real    00h00m16.343s
  user    00h00m16.234s
  sys     00h00m00.093s

With trunk revision 108318:

  D:\gnu\bzr\emacs\test2\lisp>timep ..\bin\bootstrap-emacs -batch -f 
batch-byte-compile org\org.el

  In toplevel form:
  org/org.el:4873:1:Warning: global/dynamic var `entry' lacks a prefix
  org/org.el:4875:1:Warning: global/dynamic var `date' lacks a prefix
  Wrote d:/gnu/bzr/emacs/test2/lisp/org/org.elc

  real    00h00m02.125s
  user    00h00m02.046s
  sys     00h00m00.093s

That's a 8-fold slowdown.  Consequently, the bootstrap time on
MS-Windows went up from 9 minutes to 33 minutes, which is gross.

I see a similar slowdown on a x86_64 GNU/Linux machine.  Here's a
comparison with the latest emacs-24 branch:

  address@hidden:~/bzr/emacs/trunk$ time ./src/bootstrap-emacs2 -batch -f 
batch-byte-compile lisp/org/org.el

  In toplevel form:
  lisp/org/org.el:4874:1:Warning: global/dynamic var `entry' lacks a prefix
  lisp/org/org.el:4876:1:Warning: global/dynamic var `date' lacks a prefix
  Wrote /home/e/eliz/bzr/emacs/trunk/lisp/org/org.elc

  real    0m47.939s
  user    0m45.850s
  sys     0m0.340s

  address@hidden:~/bzr/emacs/emacs-24$ time ./src/bootstrap-emacs2 -batch -f 
batch-byte-compile lisp/org/org.el

  In toplevel form:
  org.el:4874:1:Warning: global/dynamic var `entry' lacks a prefix
  org.el:4876:1:Warning: global/dynamic var `date' lacks a prefix
  Wrote /home/e/eliz/bzr/emacs/emacs-24/lisp/org/org.elc

  real    0m5.883s
  user    0m5.620s
  sys     0m0.140s

There's no perceptible change in speed of the byte compiler when it is
run after being compiled.  I get the same times, plus or minus the
measurement noise, on both Windows and GNU/Linux.

Is this slowdown expected?  Can it be fixed?

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
d:/gnu/bzr/emacs/trunk/etc/DEBUG.


In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600)
 of 2012-06-09 on HOME-C4E4A596F7
Bzr revision: 108534 address@hidden
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (3.4) --no-opt --enable-checking --cflags
 -Id:/usr/include/libxml2 -DGLYPH_DEBUG=1'

Important settings:
  value of $EMACSDATA: D:/gnu/bzr/emacs/trunk/etc
  value of $EMACSDOC: D:/gnu/bzr/emacs/trunk/etc
  value of $EMACSLOADPATH: 
D:/gnu/bzr/emacs/trunk/lisp;D:/gnu/bzr/emacs/trunk/leim
  value of $EMACSPATH: D:/gnu/bzr/emacs/trunk/bin
  value of $LANG: ENU
  locale-coding-system: cp1255
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-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 input:
M-x e m a c s - <M-backspace> r e p o r t - e m <tab> 
<return>

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

Load-path shadows:
None found.

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



--- End Message ---
--- Begin Message --- Subject: Re: bug#11657: 24.1.50; Byte compiler is a lot slower now, when run interpreted Date: Sun, 24 Jun 2012 21:02:34 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Eli Zaretskii wrote:

> Thanks, I think this bug report can be closed now.

As a general comment, whever you find yourself saying that, I suggest
you just do it instead (particularly when you are the OP, like now).
It's easy to undo; and otherwise I think things are likely to get left
open when they needn't be.


--- End Message ---

reply via email to

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