From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6FevH91HNGOeYAAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 15:10:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mLXtHt1HNGPocAEAG6o9tA (envelope-from ) for ; Wed, 28 Sep 2022 15:10:53 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2CA2438FA5 for ; Wed, 28 Sep 2022 15:10:53 +0200 (CEST) Received: from localhost ([::1]:36256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odWpv-0002ki-OU for larch@yhetil.org; Wed, 28 Sep 2022 09:10:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odWbx-00031x-Up for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 08:56:26 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:43696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odWbw-0002Vf-Ef for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 08:56:25 -0400 Received: by mail-wr1-x433.google.com with SMTP id h7so7262838wru.10 for ; Wed, 28 Sep 2022 05:56:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=POYo8Gjo3B7jMLTObL7XAVmS5IxCTGJMIunIcsi1b7A=; b=q7jxDhJrxWfPkD/qPCbGutsvy9Mn5gajK9KSQA4P/54ALi+oukxvE8UwnemmNNkM5c 6y/AySnZ84VfgsSW6HeJzeTLO8UTeH8oIb4amFUEkReJL5AKn/Hmm3+tQyD8raxGGd9T VvxP9NkEiw191SkG24ibQREc/aA/U6aHIo/jCaQYkL3WmHQHTX6yTLXb4nf8wTVrA7Gg BQ4ZutfSfb7sw3nCzL8KAH177sTEiAAXm+u4VWDjzgjOqjTbMJsw9z5pZaK/BnPkZc5y XZ6TUzJDZ68q+NMReIzyk2+cgF6SnNxVnkZqZ0lVBgL8+cllq+Sh4nTjDWIT2B7RKxLn a4Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=POYo8Gjo3B7jMLTObL7XAVmS5IxCTGJMIunIcsi1b7A=; b=cadRGt/kZCrqRork+5dcq+h1HZjkDzRs1vVhNnLYIWDvZE+0J/JgFihaNZRzpjPRVw WWknP6x1pLOEG1+ddS4YB6P9o5K+cIbjsleUVjTwSi02BU9iGOLryVI7y2V4VjoZmKOT qh/ImP4cicBG437X137Pu3y/s1cgUnwnLXnuPp6CSklAwhP7EMNvI0xZH5XRmlblX6JP Ecq4lCPNWT59Jy/9TxfbXegCWYqOY/UHm+uTLcdxgvEZ0IUSnOTLT9WfoGSv+vDS1/uF MQBfIK84bzL2mudYJYZ2m27uforfC70HCkp+e0E3KRHrPxfLTOnhaNoJJv78FRFkvB66 ry1A== X-Gm-Message-State: ACrzQf3kg52+HFa4VzqN3pmFaoY3my0H/3EJ90YZnzzBUhS6nKY2dBgy LdXSQLCR5MXJOjoTkWZItivBxLKIbU+kzLiT+zQ= X-Google-Smtp-Source: AMsMyM63QMfa3LsPXWJ5kFRRWvalSXPhNlUymJVFQUgTgSPjjtVX4SiWqCOIn+UX5Wr2prQtpTp7H4EonA7ZcrhOszY= X-Received: by 2002:adf:ff8d:0:b0:22c:c4a1:32de with SMTP id j13-20020adfff8d000000b0022cc4a132demr3827311wrr.157.1664369781860; Wed, 28 Sep 2022 05:56:21 -0700 (PDT) MIME-Version: 1.0 References: <871qry7nmg.fsf@localhost> <875yhaf9mw.fsf@localhost> <87h70tgddk.fsf@localhost> In-Reply-To: <87h70tgddk.fsf@localhost> From: Luca Ferrari Date: Wed, 28 Sep 2022 14:55:45 +0200 Message-ID: Subject: Re: emacs really slow when inserting a new source code block To: Ihor Radchenko Cc: emacs-org list Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=fluca1978@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664370653; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=POYo8Gjo3B7jMLTObL7XAVmS5IxCTGJMIunIcsi1b7A=; b=h2fOqVKEO7j6ukhKQdTynzrTBCoQEc092g3UllMAi+ze4rZW3qIcEDVXr+v+WvIcMR2b5h y9g8R0P6aZVme/048Rp3VEmLYuz49HJgZriSJY4JP+7afSlnTWMQ6F7OjbNlIIRvx/zwST zUh8PbUWhaAutW6VtLuyKL1Wu5GFWvGFI9a4AlN4XCwu8wUKXra4J52lAEjeW6Y0x9XVb8 ZTBd+KLhFSCENv5XGX5SI6oMEO39DUsNH/3KSYZvrf6CbT7+N42RLmoGyZ5Nv/+wpXMcZZ nJnF/WSxxYplSI1Uirw6Ni50c3vuY2q+foyKgoaVKceXK4HdDrl0LQGtqFTUlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664370653; a=rsa-sha256; cv=none; b=qWGNW6jrZiyhk8FyrQ1HtM8q37T9ltXgVO5x69ES8xw8DLStwbHSZxpFp46UEu2TT5RrLU ZQBZ0K0fVZjlFUBA3xo1dXrMAWFVjG9vO8i2z/5ciNEOs3vljfH9cUchtkcd/dEgH7WGvk pHp0jsWvAp+e/lfjvnXIoGAoRF5URnhIZDRko7m0HXGCkLA0ZvpcBs6WeMY0o1gXAEwSz7 NGc8rGgxmIH+7cuPHLWDjimgKJFXsIAHsh5/vNvxhY5MP6pTwmQzB5GL1rz1CD4raESVtu YcCIOXKqSNVq/ouD4SFo/C9UwZ/gSogpfCecc3Lo67lU9+URAuBLGEIGM57Afg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=q7jxDhJr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=q7jxDhJr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2CA2438FA5 X-Spam-Score: -3.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: 71ZyzpYWY8E4 On Tue, Sep 27, 2022 at 3:22 PM Ihor Radchenko wrote: > > This is strange. > Did nothing happen after M-x profiler-report? > Can you try again and check if *CPU-Profiler-Report ...* buffer exists > in Emacs (... will be current date and time)? No, there is no buffer named cpu nor memory nor something alike in the buffer list. Besides, I'm now more able to reproduce the original issue: I open one of my perl-based org files, and it takes a lot, then I switch to overview and it requires almost a minute to collapse all the headings. Never seen nothing like this before. Luca