From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oABqDuPLgGH1AwEAgWs5BA (envelope-from ) for ; Tue, 02 Nov 2021 06:25:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6NAKCuPLgGFpMgAAbx9fmQ (envelope-from ) for ; Tue, 02 Nov 2021 05:25:55 +0000 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 84A5C34514 for ; Tue, 2 Nov 2021 06:25:54 +0100 (CET) Received: from localhost ([::1]:44400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhmIz-0006eo-KJ for larch@yhetil.org; Tue, 02 Nov 2021 01:25:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhmIH-0006eg-3T for emacs-orgmode@gnu.org; Tue, 02 Nov 2021 01:25:09 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:35395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhmIE-0005XF-OF for emacs-orgmode@gnu.org; Tue, 02 Nov 2021 01:25:08 -0400 Received: by mail-pf1-x433.google.com with SMTP id s5so6907179pfg.2 for ; Mon, 01 Nov 2021 22:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=/51mGTNayQ5gx8I1pv326+pbTpm3iyFcr+IBHGk03Ks=; b=HlwdOOyd9V6BeV9PHLp1jeqRh2zDK1OoVB06ZgegIclOtaTQYdE9M4y5AKxpyelckP KfR9eCsOQ4xB6Krx7hIcOhRDGfrgXmWKF0w8fUe4nNQlIgxnkoAnGM9Gj3c9FD+y1lxx 8sMPMdr0wpTjcsEKcNr+yBnaId+ksb4ps5Hh9wGh3Kek5j5y5JaLQ8mqUki0KqW29hD8 fHZr2ngFT3SIPkOrxgZlPO/o75kZVE0Oz+J09JjSEzEUtI8QqBD0G6nPCWoMlSS2JhDm ztXQqB2AHlFkxn5eYdg6AIlcRfBG0fJ2Uebd9ZpU8QEIzt56xHuE6wAdJVCILyONWnMQ Xkjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=/51mGTNayQ5gx8I1pv326+pbTpm3iyFcr+IBHGk03Ks=; b=vHpeToHXITG+fU1Ivn/ZG1FtJFThDtyJTiFxWUhzWjT+pPBlc4DgIR4xglZ14ZHWFf s/MkP45UttRLsJRSGEk8uX2iSVFy2Xw4PJ/ii4i8kM3mGIOw4HjjyItYFl7C+XZMrb3M ToUlI6kaWm+L+Z+qlzihjOjvSFzKcFMeUlYBcnG4vCYZDDqOWMMDYFsElgAEJIep9FkO YnB9IIJyk04gZ+0y5S9xoA3wCRDRY0PdsfjUmZjEw5Fop8Cnb9RlY8EdzpzWBzDL/2ih cdy7FumYcvSil7WPhIKHQaovEF8/8/rV83EJ1JmLe6VEuctUDD0o5yxNsnJwfIwcNjab iyKA== X-Gm-Message-State: AOAM530CD2OcAkZJW0y6SjLJvHx81TRbmuGPaVGRMEJfYw9whl/XId/B Lx3QakNAAc6z/EmsDSVRq4H+CBG7rsfdp6/prNs= X-Google-Smtp-Source: ABdhPJwjChMJTf+zJlFTRHN0qMw93mY2y53iRWwKVnbRoMYjcWlR/GDQZ7Cau8t8wg6sIJpEv2dstA== X-Received: by 2002:a63:e214:: with SMTP id q20mr16743085pgh.431.1635830705111; Mon, 01 Nov 2021 22:25:05 -0700 (PDT) Received: from localhost ([210.3.160.218]) by smtp.gmail.com with ESMTPSA id y22sm17686895pfi.206.2021.11.01.22.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Nov 2021 22:25:04 -0700 (PDT) From: Ihor Radchenko To: Greg Coladonato Subject: Re: [BUG] after update to 9.5, starting org mode results in cache error messages [9.5 (9.5-gd4e192 @ c:/Users/scott/.emacs.d/straight/build/org/)] In-Reply-To: References: <874k8wavza.fsf@localhost> <87mtmn9p8c.fsf@localhost> Date: Tue, 02 Nov 2021 13:26:32 +0800 Message-ID: <87h7cv9lh3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=yantar92@gmail.com; helo=mail-pf1-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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635830754; 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=/51mGTNayQ5gx8I1pv326+pbTpm3iyFcr+IBHGk03Ks=; b=QwR5mPvx4XLq/N/SqscEl1YNohbg/QDnpwhsfWd9ToTMyuW3t41uWXAifbIpM9eyu/pQja jdk0lV6z/V15d/gRVREnmoI3+YMx19vqON9aakdkiL3mI+UHf4xqqxy12TEtDggJSRS8Zz QuDPz5vgF/I8uFsK2vMlwsy0ZNGHDPE2/QQAW/tybjccN6XGyOw7TVr7Z/kgCMFk8YUQ4V 8J6mAR0yiIaWGxaL7wmwCDFLok0yrrX+MV2lZxCDzcYdw+syf358CUEfVbOimSJCRsDceN eCvWJIiZf2KTvmnNE0QXAJx1zsEhA8M8rB2AK8wuiRReYpgDrtyt44ptARJFPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635830754; a=rsa-sha256; cv=none; b=n45BQE9fNLivpYbZrXEnEB0VtRxcUz5O8SepMdvuGB1OXFS3NUUj9gqocEGcYkqS7FL/Qy NCi33T4GDbe1r8Hn5zfv6KW72FL5rIvvI0OHsCH+5YqzUQrz0OEiYbAEKgNYH7rIaVw9rH JBTdbzVbq8Fo0FAjJAOQ7qOLBTFoJEruYKZ+PYimcRd9EVrPlAREntawQM7gObj3y5ZpYE bE8B9pa2iRzOgcepdXvR3moQt+x0fK9waqNDCMk5+gXxiRiho05wae8ynPvbSJeq4U4CDV qvYQUDMK17H5S4dfdJzGtekpH4nkUxghQRv8ZUBHIIDWn4rNRNFsR0SA6qMlOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HlwdOOyd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=HlwdOOyd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 84A5C34514 X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: BFILSDsYMfsl Greg Coladonato writes: > Here's the report: > > [profiler-profile "24.3" cpu #s(hash-table size 325 test equal rehash-size > ... The profile shows that bottleneck is undo-fu-session. Even if org-element-cache is the cause, it should be some strange interaction with other external packages. org-element-cache itself does not change buffer text. If anything, the new code should change buffer text properties less than before because some of the older cache logic is moved from using text properties to using org-element-cache. Best, Ihor