From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#36566: 27.0.50; debug is sometimes horribly slow Date: Wed, 10 Jul 2019 05:09:24 +0200 Message-ID: <87r26yvb4r.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="181265"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Gemini Lasswell To: 36566@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 10 05:10:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hl2zh-000kzR-TU for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jul 2019 05:10:10 +0200 Original-Received: from localhost ([::1]:57696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hl2zg-0004I4-Qq for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Jul 2019 23:10:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35831) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hl2zc-0004Hy-9Z for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 23:10:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hl2zb-0006fP-Ah for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 23:10:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54079) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hl2zb-0006fC-7w for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 23:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hl2za-0002GN-Uh for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 23:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jul 2019 03:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36566 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15627281788628 (code B ref -1); Wed, 10 Jul 2019 03:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jul 2019 03:09:38 +0000 Original-Received: from localhost ([127.0.0.1]:34667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hl2zC-0002F6-H5 for submit@debbugs.gnu.org; Tue, 09 Jul 2019 23:09:38 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hl2zB-0002Ev-6V for submit@debbugs.gnu.org; Tue, 09 Jul 2019 23:09:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35645) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hl2zA-0004Cn-8N for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 23:09:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hl2z8-0006CD-CM for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 23:09:36 -0400 Original-Received: from mout.web.de ([212.227.15.14]:34303) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hl2z7-00067Z-Vq for bug-gnu-emacs@gnu.org; Tue, 09 Jul 2019 23:09:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1562728168; bh=jKXfLoS46B3JZ31myzKcQkTZMtNhZRxjfxr4w5DCWJQ=; h=X-UI-Sender-Class:From:To:Subject:CC:Date; b=DhcBpstH7gnsJYckqRtVs/QgwYxeneDAkPHWmv6/HC/d6XwYkHoMzQXQEK5DTXNKM LwRwcZWxY3ZdY2vEgxGwnRMvvCAFHXFrLPzwcXO0i/nfMxNgQn/CxodfsRJ5dpUkV6 q7427MM92q8+b9UlVraUCn426zpqJJfVfHISvDN8= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([94.216.191.242]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LuqfJ-1iSsA23kY5-0105dR; Wed, 10 Jul 2019 05:09:27 +0200 X-Provags-ID: V03:K1:+/TMgPD1voDLTNDDUbo4Esh099aMLcWzA4kPnwbfdY3Jbp9kuBA wdcQ0HhSE+N4YuLfcC+M3IQ6h8fHcXEeS4EQH4iV/8YZp+ZQ6wSPZKKe0zinSpDk8fk5TQw dweJH+ZFIrv+lezAjo1B3LearKKulJ8TtwffWDO3qSoUnQxcPK1r4f0xKPZgCD35bIfYEfT S6KIEQt7CThikcMDukzSQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:UGbH91V0R7Q=:/tRyPbweosIpSIWiVSkOfQ jWzFBhdGFJrsE4QLb3ZPyk0utN8n6upV85dbFO83cXG4NLZr2vLVXv7HjTU9qYbtaxPp3eOYY +BHMqcno2NLNucwN07QtE2nCMW1SpfFNZRGpyc/4fZKQnxPdKnm2yKWjiZkFKU7xWi/K/lNg1 azndEKaT0XSxbG3eG1wPukZjjsVTLhlysq6xamgNyIkOU18iPHlQeX6KyAYBWiktvx0S/VmxW xIX+f2E7VX8wSgS3jS6CSai3AwrLeH8vuL+oTozKEaxnzHNMvmWJ3ZrR5jZMJuXHtRqPgNN3c rVPxuNSybGk29mHR11eTEbszmFe4DApIJ2qAtu+Bzg1IKC3r69C5h9jY2yfgAifX7ArJnIsF6 ffJbrwDHC1NW0ViP4a5MPyI73E++XiXgeAzqjSl5eChf6vX58flmq4a9Lxnzjgwpd8X7342Ey LypRw6ecP3Xv1rZC5eRNdHjWfUNXSRlku33SaVXScw0DQNGnf8XMTdM5eHPmzF5ZQMJjydtx1 zjp4W1KHrQgNp6Z0gKBEIbKVUhy5/+OP4w7DzYFUWHIa2aZBjjCK1lFg95DmjpcAxFXLTGNHo OUp2Bvo3vE5bW88WJ0yEEr/TjW6CYEPsWPlRFGhoxNV5IjmB3KUzODixvkQ1tv1Zq3+LxQsOo Fl+brpvSybjmejFqSI/W51RHtwzpP0OSd8bj9yxeAAdEKpy1401L4O7jsQlfM1GxeM0ib257Y CP/+VGTlbW1cBWVi0JpYTeC3kTTXUAUEiWubJUYjud65yPTcdbayjIDyHibN0cK7fqWnNE0A X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:162590 Archived-At: Hi, sometimes it takes 10 or 20 seconds until the debugger pops up. I debugged code using widgets (who are complicated long lists). But both the number of frames and the length of the printed lists were not exorbitant - a quite normal situation. When I revert e09120d68694272ea5efbe13b16936b4382389d8 Add backtrace-mode and use it in the debugger, ERT and Edebug the debugger becomes fast again and pops up in a reasonable time. With the commit, the debugger is quite unusable in some cases: stepping (`debugger-step-through') takes ten seconds per hit etc. Not good. FWIW, I think I very much appreciate the cited commit - I didn't yet make use of the added features but it seems to be cool. I hope we can find a solution here. At least there should be a way to get a faster behavior. BTW, I used the profiler and found that most of the time is spent while garbage collecting. My first thought was that cl-print may be the culprit but that doesn't seem to be the case. TIA, Michael.