From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Performance degradation from long lines Date: Wed, 31 Oct 2018 21:05:07 +0800 Message-ID: <877ehyclmk.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> References: <83lg6mqdfh.fsf@gnu.org> <87va5pkxae.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> <87k1m4puav.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1540991147 477 195.159.176.226 (31 Oct 2018 13:05:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2018 13:05:47 +0000 (UTC) Cc: Eli Zaretskii , mithraeum , emacs-devel@gnu.org To: Gemini Lasswell Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 14:05:43 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHqBq-0008QX-DA for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 14:05:42 +0100 Original-Received: from localhost ([::1]:59355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHqDw-00056i-Sw for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2018 09:07:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHqDC-00056L-Nk for emacs-devel@gnu.org; Wed, 31 Oct 2018 09:07:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHqD7-0000pf-9I for emacs-devel@gnu.org; Wed, 31 Oct 2018 09:07:06 -0400 Original-Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:33682) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHqD3-0000mR-3t; Wed, 31 Oct 2018 09:06:57 -0400 Original-Received: by mail-pl1-x636.google.com with SMTP id x6-v6so7288540pln.0; Wed, 31 Oct 2018 06:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=70enqbWHKlwWlGfkgg1TUH0Ra1eAYkIUKhDWZBqTaI4=; b=LZaSrucdp6qCPpMgEWfvXi+zckX13b7KPvoREntPg0dkUXRmX9VyUK0qr0E397hJVi O5EcNtXstOxe72ZOJDCi29etbIzPxyubcsEatqZjhGMOak3OWDHWSi0FLeft+uWTgECB ZS20eWcblQEyJ/NcX+B5r/N378LBu1FFnv5z3PkK+t6+YWDJGYkKz7Dbw00tvmbbUOj3 yYbyY+rEeDmOvqIZTUmjpAZU4Hey8UTULp1ovuIaVz2oRwq431F0TYQq4dR1h++yYAwL m4mVF4HTBperVfdE964wIlRvwSJbRPm5z1+HnCjPQ5Nfri1r0WGtj+HcSMLt/1aIQQTt kM8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=70enqbWHKlwWlGfkgg1TUH0Ra1eAYkIUKhDWZBqTaI4=; b=K21kg3+JUjMjRs0Pi34QtFjrikTle5HdUjdt9etrItG1WmechM+UAcpuUbK33K9SVU GT/tONMHxQFEI5OFqtkGGqqPX/OwZX+nFJSGwc7tacSJ5tEqRMoVYbgG6WqCIQKYw1ji 5iK/ZCvWlmgY3oD1guy378X6FmxJlt9NYWI+cK1aSaR2MluKcBFsydkoo0bSaa9Je0Ik 2E6ns1B7x0zoWDb6ec7ft53iwXfBnj7TyzmXwjiRBi4w9OdYm9jWRa5//u4QYhqD2ysc 7U0jB29T1I4PhVe2swiQEpGaOPUcThbpuUwGayQ9a/4QT4T1Yy9EDOg08YIKLGgAhDNa WOqQ== X-Gm-Message-State: AGRZ1gJLKR6fB98vJ6KX2iFcawtp/DXw5w1qkfyxoghD/BGTNUXQglf7 nrACPvE/8ozh/VmhBv7jrC0= X-Google-Smtp-Source: AJdET5eRvl9MW+h1XDzMYkLMk4xhfGbrHlbSH9VGQAQsfyrR91U4CFQLO7BTj32tJPp/87oir8ECpA== X-Received: by 2002:a17:902:6b0a:: with SMTP id o10-v6mr3350882plk.208.1540991215625; Wed, 31 Oct 2018 06:06:55 -0700 (PDT) Original-Received: from localhost (bb42-60-34-20.singnet.com.sg. [42.60.34.20]) by smtp.gmail.com with ESMTPSA id m7-v6sm33159429pgq.59.2018.10.31.06.06.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Oct 2018 06:06:54 -0700 (PDT) In-Reply-To: <87k1m4puav.fsf@runbox.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::636 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230872 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Just tried *Backtrace* with emacs -Q from master (did not test on my config since my config does not work with master). Works perfectly on `org-element-parse-buffer` with 1.5Mb org buffer, while I just had to kill my 26.1 emacs on the same task after 3 minutes waiting.=20 Gemini Lasswell writes: > Ihor Radchenko writes: > >> I would like to point out that the long line problem also exists for >> non-file buffers. >> Specifically, evaluating debug-on-entry for org-mode buffer parsing >> functions often leads to ridiculously long lines (pretty much the whole >> buffer is transformed into a single line), which takes forever to >> display. >> find-file-literally does not help with this problem at all. > > Have you tried debugging org-mode with an Emacs built from master? I've > made several improvements to the *Backtrace* buffers in master, > including doing a much better job of abbreviating the printing of very > large data structures, so that lines don't get so ridiculously long. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEERZAHPFbUe3JemmzmZHB2Kn2hHYsFAlvZqIQACgkQZHB2Kn2h HYumnQgAlK+8Wms7YugKyFKz69HG8oa2+Ui3cNgZO09BC2WLTGX/QQuQWnEhq62K KrEnYMDJlqMEH89FS9ZbV2pCwB0SlxZCR9U0PiBEYl+Rs474gjusv4U7kRp3oBpr HYXFMrCTNJDsD8gpv30l0moBLQORwcY9EgmAkp2ttcHKB65e865p5uBI5mISiXdZ VD2uk/om3dF8rhETQF7lynoV0M2tnIODO6/wOafKpVG9vbFXZpz8yl0SunHU3d38 vKVM4sbGnJpeFGZEmME9Oaw61dA0mzKPX5McidlcF+qM0hCXiY1k3BwK8t1XIoXe 5fsHGfjMzHgDB5kec9LjjeT75w+XnQ== =AHdR -----END PGP SIGNATURE----- --=-=-=--