From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling) Date: Mon, 15 Aug 2022 19:39:35 +0800 Message-ID: <87tu6d4txk.fsf@localhost> References: <87bksmx1j1.fsf@localhost> <5900f208367791fbdfe2@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11474"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57207@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 15 13:42:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oNYUD-0002or-D3 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 13:42:25 +0200 Original-Received: from localhost ([::1]:41348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNYUC-00064q-Cn for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 07:42:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNYQw-0004bq-8i for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 07:39:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNYQv-0000X7-Ui for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 07:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNYQv-0006fk-OS for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 07:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Aug 2022 11:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57207 X-GNU-PR-Package: emacs Original-Received: via spool by 57207-submit@debbugs.gnu.org id=B57207.166056352625627 (code B ref 57207); Mon, 15 Aug 2022 11:39:01 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 15 Aug 2022 11:38:46 +0000 Original-Received: from localhost ([127.0.0.1]:41042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNYQg-0006fH-0x for submit@debbugs.gnu.org; Mon, 15 Aug 2022 07:38:46 -0400 Original-Received: from mail-pl1-f182.google.com ([209.85.214.182]:37834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNYQc-0006ez-Jo for 57207@debbugs.gnu.org; Mon, 15 Aug 2022 07:38:44 -0400 Original-Received: by mail-pl1-f182.google.com with SMTP id m2so6118390pls.4 for <57207@debbugs.gnu.org>; Mon, 15 Aug 2022 04:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=+kwsrTkfOH3rmAslVKYUjR1NHNxuaL+GX7hKk4aZNus=; b=NFySaNhCI9giLcg2MoVC13WdusyhVbupGwDcBIU+XYtXM412Xp9MSlibeSQe/WfFJX qOq4y1D2pc5KcT1BhH2h0aVFGSv0iVLJUCpPSMjlDgCcpl6D2F3807b5cxSErJl9qBFh Wc+AsegV59xnWEsXt4OwATDoQh6UXoMoMp4ricE9SNvZTuoBhDUs9pafckD8A56CIt15 kOA3dD7Tx3tmCHh0qitZR2/CarxBhR0ObgNFYqvbNOz09M8B4tEUpZozjAjuZmqt3Ft2 sZ4BEL9kcniDImbESE7h7aqhWfKYcq8mBuJ1gpGGab+Jt0VW5RPOQQDAzSf1j7Kxb4A8 GGRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=+kwsrTkfOH3rmAslVKYUjR1NHNxuaL+GX7hKk4aZNus=; b=YBf6r0Xx+Iq5CgyviJMuC6eg5mIFMCK5GmWPD6CXw7z2ASEodjj4sRV2NNeo9NHM+j kmn+lY+/TdFQfKb6lq3NGHU8IrxNiVyrLJdXWj/EJAQxYOdK8tLHKWPNZhzzaACxUVKG CLOZxeL5Rfs+FyaC2KGKwwG4Mb0Z1eBRiObNmH8N1nAciehXX4IcFbjfqAVHIoR82z3k YD+hs2nJruR8o8peBEyCYPUAFOEanrkoJtrmvMBwZRfMRYc308K1nN6SrtO2ugqjpRAb VxCSJpbfwduUzbtPeZDA8BQY90Eq9VvmDsDCS0VrF0mAEmWuGS0K6oVaop3JxF4nO/eq pm2g== X-Gm-Message-State: ACgBeo04BByCpk3Lqm1JBnGEP62R+HpdcsoSlAfsy3ZVO649Eta4n8TA QqklYunaRggzAumuc04SQuE= X-Google-Smtp-Source: AA6agR5RG+mB6iTchbEhe625yxC99AvdCiT4oS+IxICdnCPF0KYJJr7cZqxU2LWtlPO0Ma9FJdZD2w== X-Received: by 2002:a17:903:25d2:b0:16e:e1c9:e0eb with SMTP id jc18-20020a17090325d200b0016ee1c9e0ebmr16186311plb.92.1660563516351; Mon, 15 Aug 2022 04:38:36 -0700 (PDT) Original-Received: from localhost ([2409:8a70:2bf:80b0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id i15-20020a170902c94f00b0016ed8af2ec0sm6877668pla.29.2022.08.15.04.38.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 04:38:34 -0700 (PDT) In-Reply-To: <5900f208367791fbdfe2@heytings.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239777 Archived-At: Gregory Heytings writes: >> Do you have any idea what could be going wrong or how to debug things >> further? >> > > Can you (a) provide a MRE so that we could track down what's going on > and/or (b) try to set long-line-threshold to a larger value (20000, 50000, > 100000) and see when the performance degradation disappears? (a) It is hard. The problem appears when using a combination of a 20Mb Org file and WIP Org mode branch. (b) Setting long-line-threshold to nil makes the slowdown disappear. Increasing long-line-threshold to 100000 made Emacs hang. I had to kill it using kill -9. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92