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:41:23 +0800 Message-ID: <87r11h4tuk.fsf@localhost> References: <87bksmx1j1.fsf@localhost> <5900f208367791fbdfe2@heytings.org> <83bksmka08.fsf@gnu.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="8986"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , 57207@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 15 13:42:00 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 1oNYTn-000297-4S for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 13:41:59 +0200 Original-Received: from localhost ([::1]:40568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNYTm-0005Rn-8D for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 07:41:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNYSs-0005QF-Ej for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 07:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNYSs-0000vt-0b for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 07:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNYSr-0006jI-Ol for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 07:41: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:41: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.166056363525809 (code B ref 57207); Mon, 15 Aug 2022 11:41:01 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 15 Aug 2022 11:40:35 +0000 Original-Received: from localhost ([127.0.0.1]:41046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNYSQ-0006iD-KR for submit@debbugs.gnu.org; Mon, 15 Aug 2022 07:40:34 -0400 Original-Received: from mail-pf1-f171.google.com ([209.85.210.171]:36530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNYSL-0006hx-R3 for 57207@debbugs.gnu.org; Mon, 15 Aug 2022 07:40:33 -0400 Original-Received: by mail-pf1-f171.google.com with SMTP id a22so5847080pfg.3 for <57207@debbugs.gnu.org>; Mon, 15 Aug 2022 04:40:29 -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=9+O3gB22k5x/P526dLoUqaZ0IqNbMM+Ba7vOjfpZyHE=; b=GEpbaj+ITK3Ux7Dk+OwjlaMXmG0VI+s1ydrP0d00wFV5J8+v0L+ZBWieOaz03ojwbx JuNRKyYERcw8TJW/g30buya8Y9QDWFyElcfovGid++HZ7CmlEqdust0Yl8prJna074ww mMzgDRyHicvJggOJSraH2WH36kIVFtJY6MYMeWiDfFmV2wII/IrpB9HHTDLytqQGPmCS w5rIJWHiA1KE2FESU6a2f4nzl1GGYJkWF3LiVqZS0+CW6BlYhYukQ9H6q/mliD8iUL7i lR4uWHPkO9XUCnlP+sMM4gJwwiMpB9L4vfYJuWGzepMqA9SxeroOODHbh4Z6dJSQUyh2 BNXw== 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=9+O3gB22k5x/P526dLoUqaZ0IqNbMM+Ba7vOjfpZyHE=; b=lpWzGLOHNJuYgE1UnhdmECT/LzfU8+a19Cjabpho2aia2r1O4f4WM7J1RWOCz+ysLU kmnasTv8/xa+Eg96pJfFoqCTXUi+qdIyAz8SfyPhY9TQYwsm9+vdYmEloN9jIJOMlPme Tx3uwox4gfgcAD4RnXDCWPsC/QOsL1LtLk+6A/a2KBGF+EcCeJtu8Eq9wXEHTLIeZKVw udmCLIASgKiQH2PSRdvgZYQr6JdwQq6zrX1bQap30+SS8Tsrip6fJZ2hBPukadS9x84P bRM9BLbVbpfJhzUsaaUzI685Imaa20cfynASahzWlsLLopwFxetg8Tb7+RvtrkXLy+3X e0dg== X-Gm-Message-State: ACgBeo0AQmS+ZevrLqC1LYDfs1fA5WpOfxa1WKzoHE276BLCxLv92gmQ le4CHDEa1PyhwFQVlpKu9dM= X-Google-Smtp-Source: AA6agR4j8X7zgca5SXWX/8io+qBT93duzUOpG/8Sp8XBQFw+9sMs3bLLKexnym15iEc21YY+fJQP2w== X-Received: by 2002:a65:68d0:0:b0:422:ebd2:302 with SMTP id k16-20020a6568d0000000b00422ebd20302mr10272376pgt.340.1660563624016; Mon, 15 Aug 2022 04:40:24 -0700 (PDT) Original-Received: from localhost ([2409:8a70:2bf:80b0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id w11-20020a170902ca0b00b001715954af99sm6580413pld.212.2022.08.15.04.40.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 04:40:23 -0700 (PDT) In-Reply-To: <83bksmka08.fsf@gnu.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:239775 Archived-At: Eli Zaretskii writes: > Ihor, if you set long-line-threshold to a nil value, do the problems > go away? Yes. > If they do, can you put a breakpoint in xdisp.c here: > ... > > and see how frequently this gets called in the same buffer when you do > whatever shows the performance degradation? Could you please clarify what exactly do I need to look for? What do you mean by frequency? Should I share some kind of gdb log? -- 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