From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: gud slowness? Date: Thu, 27 Jan 2011 08:35:11 +0100 Message-ID: References: <83sjwfvwff.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296113744 26030 80.91.229.12 (27 Jan 2011 07:35:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2011 07:35:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 27 08:35:39 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiMOJ-00060D-Mc for ged-emacs-devel@m.gmane.org; Thu, 27 Jan 2011 08:35:39 +0100 Original-Received: from localhost ([127.0.0.1]:38801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiMOI-00006u-4h for ged-emacs-devel@m.gmane.org; Thu, 27 Jan 2011 02:35:38 -0500 Original-Received: from [140.186.70.92] (port=52437 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiMNx-00006H-8N for emacs-devel@gnu.org; Thu, 27 Jan 2011 02:35:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiMNw-0002dg-4E for emacs-devel@gnu.org; Thu, 27 Jan 2011 02:35:17 -0500 Original-Received: from iwfs.imcode.com ([82.115.149.64]:35868 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiMNt-0002cz-TY; Thu, 27 Jan 2011 02:35:14 -0500 Original-Received: from chopper (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id p0R7ZBqO007643; Thu, 27 Jan 2011 08:35:11 +0100 In-Reply-To: <83sjwfvwff.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Jan 2011 05:48:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135077 Archived-At: Eli Zaretskii writes: >> From: joakim@verona.se >> Date: Wed, 26 Jan 2011 21:36:08 +0100 >> >> I'm debugging Inkscape with gud, but its so slow as to be unusable. >> Plain gdb debugging is not so slow. > > Can you give some numbers? Ok. My machine is a fairly current core i7 laptop, Fedora x86_64 gnu/linux, 6gb ram. Plain gdb at a shell prompt and m-x gud-gdb are swift. m-x gdb takes about a minute to initialize. Then I step a couple of times through the debugger, and emacs eventually hangs. Not completely as it still responds sluggishly to c-g. emacs continues to both slow though. It seems like Emacs is buzy-polling the subprocess but does it much too quikly. Incidently I have a similar issue with my own inkmacs.el bridge to inkscape. Emacs is supposed to wait 10 seconds between polls, but doesnt, so the loop is too fast, sinking the machine as a result. -- Joakim Verona