From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WAIdKbzEFWL1dAEAgWs5BA (envelope-from ) for ; Wed, 23 Feb 2022 06:23:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YFLcJbzEFWI7ZAEAauVa8A (envelope-from ) for ; Wed, 23 Feb 2022 06:23:08 +0100 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 546E03A05C for ; Wed, 23 Feb 2022 06:23:08 +0100 (CET) Received: from localhost ([::1]:60780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMk7G-0002HX-H2 for larch@yhetil.org; Wed, 23 Feb 2022 00:23:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMk6r-0002HM-2h for emacs-orgmode@gnu.org; Wed, 23 Feb 2022 00:22:41 -0500 Received: from [2a00:1450:4864:20::22a] (port=43569 helo=mail-lj1-x22a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMk6p-0008PR-6n for emacs-orgmode@gnu.org; Wed, 23 Feb 2022 00:22:40 -0500 Received: by mail-lj1-x22a.google.com with SMTP id 29so13278764ljv.10 for ; Tue, 22 Feb 2022 21:22:38 -0800 (PST) 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=zEPg2ETXG62De+jJPDn5xD01hk7zCF43wGHqXotmLS4=; b=Vm5helF0L96HFJxUdgWTs0jKu+PVcelewyPnpuYoKjRM+7tDhupf03HtQ0LxNbvXFF ByqmFGlic5n7pYRHuqdoenmn4gHHOnKkY+ztdKJDIrFT082KBAtTM+YQeAW5hEYhw+zY j4ie9Am5BZFlUMMIhBr/xwW0ZiwoziQy6KIwdWsgiyphn/TxNKblu0/SxDGbAuJlFZMr vLANPll4B6VP8xQsrPUKP4oGc4lSK2G+zb6dTUBDDJMJTK5ahKp/bBasHEdAN/CiEpMb ROqmpjD8LPSEbUAtumca1fO1P3uJb3th7rpd4QK/5Z2w1OhCAGKOxS6/JMTuZ/e/yamu BcQg== 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=zEPg2ETXG62De+jJPDn5xD01hk7zCF43wGHqXotmLS4=; b=tXXXFysv0RiJL1AqMHlqNrGrqIqoQtKXy43+swzj8UDolqpZ+6ZjW3aTbIF+k+komB sfbEPwLcXxnm3YZuAoBS5in28VhaNUjbGncHst28jpu+0FZH0IEImHYXBqSB6JpNVBCW sscN/ju1NyiUVMSupTCsZdqWfO0d0zDol86y9mbLEYh/87tHk8uNGKDUf1ZqgBZ5AgO6 BhTPL8OqfcS6nv6U3Qt79U5x5tPy/37mP5fG3oYjO/u2cNm1tgL74rnMo8YkCg5bLydn pHPxVGr8PDMvUDP3JdmMadeno2W2dmUsMzcmWDuEUlRCKZ0mKuTReJNiG2lKgoY2czd+ 7BHA== X-Gm-Message-State: AOAM533hStF41QMAKWwV5ccXgbS3iEtA09VfqVIJUHNLOrb91HToLovx lkv5doccUr0+tuAGiCeIRsI= X-Google-Smtp-Source: ABdhPJw85z7HcIMrVKe42cX6M1SXundGbu+l1O0tBK/OviYG2U+CcK7CiNNZk23bNOwU9ry+9WvRDw== X-Received: by 2002:a2e:9882:0:b0:246:2caf:1c85 with SMTP id b2-20020a2e9882000000b002462caf1c85mr14716366ljj.25.1645593756998; Tue, 22 Feb 2022 21:22:36 -0800 (PST) Received: from localhost ([141.105.67.194]) by smtp.gmail.com with ESMTPSA id h2sm1125868lfu.248.2022.02.22.21.22.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 21:22:36 -0800 (PST) From: Ihor Radchenko To: Matt Price Subject: Re: profiling latency in large org-mode buffers (under both main & org-fold feature) In-Reply-To: References: <87fsobpism.fsf@localhost> Date: Wed, 23 Feb 2022 13:22:07 +0800 Message-ID: <8735kap37k.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::22a (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=yantar92@gmail.com; helo=mail-lj1-x22a.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: Org Mode 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=1645593788; 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=zEPg2ETXG62De+jJPDn5xD01hk7zCF43wGHqXotmLS4=; b=DD7wOEbzsVM2gQZknUP7f3M4K0qei0Zi6Y7B2DF1aN1dbAhZSFJe7l9lJwgvLVWlya4vt5 bheq3obvEp/Iz2zwwFxq4+zS1MH1jzVJMnB8pyD4V8V2PQZjPKA7MQcN7X4xQBGocNcXqq TFFClEw0OGi+X/BEOGXKsRFzqx0NZP80HKQA6qh5SL5Dw39JCQ4tSukW8h923Byy0BEhWw VriHAUATFHF9BjbrjXoM9Xb6bwxvzpugaLR/jFrGPP5m2Ntp8XKB73oQSpE8eTisS9Fx+I X3y+eYNGPIAeOfCerytDgYwrqVWASnoqbJ9oQvb+4ZHCLVMIejsIyzvWV79T0A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645593788; a=rsa-sha256; cv=none; b=qsNYEuPYk19YofBQMqER8SKD4hIttJEfn5AqQKXcJEPhe7f10h7GYmTzgZAq4bZM38M8sa khtWZiwaX+QSOM5j1BhkJiuMmpyDNyLYMBz3s7rW4jvGh+HBydwwSYscUyYrwtCLcWsRMu nRS02NNBRCsNcHy+gwFcpuiGHrhTZvbB89GDQFR3vG5YI2+DNGU4XMphcHLizQZRhq4n79 b0tPgY1Bo2IkHtKt6NumWCV5tSZU/xBZBcF6DdBIyGkXvY36rIqqHk6NHgNkFy0zjEjqw9 XocHd1DsHY1f+zolPbdrGuR3sS3xYTovIefbahMftUe6tmt1t4wWA2XirJHlHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Vm5helF0; 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: -5.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Vm5helF0; 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: 546E03A05C X-Spam-Score: -5.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: zZz091d10zDa Matt Price writes: >> 20128 80% - redisplay_internal (C function) >> 7142 28% - assq >> 908 3% - org-context Note that org-context is an obsolete function. Do you directly call it in your config? Or do you use a third-party package calling org-context? Best, Ihor