From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Ponce Newsgroups: gmane.emacs.devel Subject: byte-compiler very slow Date: Sat, 20 Jul 2002 22:27:07 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <3D39C79B.6020605@dponce.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1027196794 12667 127.0.0.1 (20 Jul 2002 20:26:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 20 Jul 2002 20:26:34 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17W0oD-0003IC-00 for ; Sat, 20 Jul 2002 22:26:33 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17W11F-0005rN-00 for ; Sat, 20 Jul 2002 22:40:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17W0o6-0000Zn-00; Sat, 20 Jul 2002 16:26:26 -0400 Original-Received: from smtp-out-2.wanadoo.fr ([193.252.19.254] helo=mel-rto2.wanadoo.fr) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17W0nE-0000XL-00 for ; Sat, 20 Jul 2002 16:25:32 -0400 Original-Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto2.wanadoo.fr (6.5.007) id 3D1838B600DE4D7A for emacs-devel@gnu.org; Sat, 20 Jul 2002 22:25:31 +0200 Original-Received: from dponce.com (80.9.192.217) by mel-rta8.wanadoo.fr (6.5.007) id 3D2A78F6005AA933 for emacs-devel@gnu.org; Sat, 20 Jul 2002 22:25:31 +0200 User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1b) Gecko/20020718 X-Accept-Language: fr, en-us, en Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5933 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5933 Hi All, Since about a month, I noticed an important slow down of the CVS version of the byte-compiler. This is particularly annoying when byte-compiling large files or doing batch compilation of a bunch of files, or bootstrapping Emacs ;-) Other people noticed that too? To be sure I did some empiric measurements of byte-compilation time of some files, both with Emacs 21.2.1 byte-compiler and latest CVS one (2.105). Here are some results I got on my IBM 390E laptop on NT4: +--------------------+------------+-----------+ | File | 21.2.1 | 21.3.50.1 | +--------------------+------------+-----------+ | bytecomp.el (1) | 1.593S | 18.297S | | edebug.el (1) | 1.462S | 10.775S | | wisent.java.el (2) | 5.979S | 39.677S | +--------------------+------------+-----------+ (1) Latest CVS version (2) Java LALR automaton & related code (part of the Semantic toolkit). A first quick comparison between the 21.2.1 and latest CVS versions of bytecomp.el codes showed me that the main addition that could impact performance could be related to the new (nice) feature that reports symbol positions on byte-compiler messages. Could it be possible to improve that code? Or perhaps optionally disable reporting of symbol positions, at least when running in batch mode? Sincerely, David In GNU Emacs 21.3.50.1 (i386-mingw-nt4.0.1381) of 2002-07-20 on EBAT311 configured using `configure --with-gcc (2.95)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t