From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yAvHFH1t5WOm7wAAbAwnHQ (envelope-from ) for ; Thu, 09 Feb 2023 23:02:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GFOyFH1t5WNV/QAAauVa8A (envelope-from ) for ; Thu, 09 Feb 2023 23:02:37 +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 A3701125AA for ; Thu, 9 Feb 2023 23:02:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQEzE-0001ea-7B; Thu, 09 Feb 2023 17:01:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQEzC-0001eS-Hx for emacs-orgmode@gnu.org; Thu, 09 Feb 2023 17:01:46 -0500 Received: from devianza.investici.org ([198.167.222.108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQEzA-0002lW-Fc for emacs-orgmode@gnu.org; Thu, 09 Feb 2023 17:01:46 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4PCW6M14MVz6vJd for ; Thu, 9 Feb 2023 22:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1675980091; bh=ke2NaQJc/Y0NY+j59yZ7fHo1egUVYEvWAPtLrs2F5lU=; h=References:From:To:Subject:Date:In-reply-to:From; b=X+AK/LNUdFoh9rDJzLHnj0MlpjYZXTYPKqajjIAdQOzy23+sLcze+EdvaYG3p1zdu EmcFq5j+KmwEsQ4W8PZz3BxSttzzs8PniT/2wc6wQouaEPW0+HH+lkJ1liC99314os 43mM7bQy4CD0d5pd1aJxLHgoKwHW0K+BYqNvbmPI= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: jgregory@autistici.org) by localhost (Postfix) with ESMTPSA id 4PCW6L2qksz6vJS for ; Thu, 9 Feb 2023 22:01:30 +0000 (UTC) References: <87sfffawfe.fsf@localhost> User-agent: mu4e 1.9.0; emacs 28.1 From: Jonathan Gregory To: emacs-orgmode@gnu.org Subject: Re: [RFC] If you use Org 9.6, please share the output of M-x org-element-cache-hash-show-statistics Date: Thu, 09 Feb 2023 18:58:26 -0300 In-reply-to: <87sfffawfe.fsf@localhost> Message-ID: <87v8kaxzux.fsf@autistici.org> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=198.167.222.108; envelope-from=jgrg@autistici.org; helo=devianza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675980157; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ke2NaQJc/Y0NY+j59yZ7fHo1egUVYEvWAPtLrs2F5lU=; b=gQRgIHKetDXuodv8rgdebKGt5kIMhYewW1eTryQxbTfqtprIexoXFlw5yxQeXu00xupUpG 6crmuR5Rs+ZFAYLGYtvMzNbmddczHwIuGFHtio67fDIiTQoxuVsBN7LJFp2z3EfUWbLUlz CcUtwsZoY9BU6SH/maA6C4cv03fROdKC+bwC2KmOcL1ueufu3KTwDoxwUtgLhTKkWKknnu 6zuhdchUL+3bL54ikabJXuc5LeEK3HvC0IKjsbGCxbaFRA+j2GSLGD5kZzbz1za6KwDfjL /jFaE8kzfvY9I9JchxXmDiI7BnJCRm09Cta2dUfo3O5MvosxxwXzuK/mvGslnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=autistici.org header.s=stigmate header.b="X+AK/LNU"; 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"; dmarc=pass (policy=reject) header.from=autistici.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675980157; a=rsa-sha256; cv=none; b=FAjyVU+Cpyr4ebq7cdyLWpPWHGdMHOexhZiNm5tEqqm/y996Bo9i0PPc94VJ/el8QyiU3k NkImDb/TcoEUIEn1faq08s+57tuPea5mEfn8+qaHMST6uMqx25RBSohpuUj3fB35+wWBMZ pDG9zZ8bB41DI7S1Fp5qDQEEDHpvfzY564zhoDskmVT7jxFb4ckKn4sRnBq9kzU58woyaZ jW/OIH5IayeET8fnLv2U5S3ILA7b/FvvQoxegj1uSjQBhF5bZWEB36a44iu0O//rqqlK4G fEljSCcsP0HlCpjsuadnnlHOYEmr0CmfVRQr3+88Ga1Pd/ReNxr8pbaqp6P/yw== X-Migadu-Spam-Score: -9.10 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=autistici.org header.s=stigmate header.b="X+AK/LNU"; 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"; dmarc=pass (policy=reject) header.from=autistici.org X-Spam-Score: -9.10 X-Migadu-Queue-Id: A3701125AA X-TUID: riqgOjXKvTAW Hi, On 09 Feb 2023, Ihor Radchenko wrote: > Hi, > > I would like to assess the efficiency of one of search > optimizations used in org-element.el [1] > > The statistics about efficiency is collected by Org, but > obviously not shared without your consent. > > If you are ok with sharing the statistics, and you are running > Emacs session for at least few hours (using Org mode, > obviously), please reply sharing the output of > > M-x org-element-cache-hash-show-statistics 18.64% of cache searches hashed, 7.90% non-hashable. > M-x emacs-uptime 8 days, 9 hours, 14 minutes, 34 seconds > [1] Pugh [Information Processing Letters] (1990) Slow optimally > balanced search strategies vs. cached fast uniformly balanced > search strategies. > http://dx.doi.org/10.1016/0020-0190(90)90130-P -- Jonathan