From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sHvfDUKhLGIhQwAAgWs5BA (envelope-from ) for ; Sat, 12 Mar 2022 14:33:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6BpMC0KhLGKm6AAA9RJhRA (envelope-from ) for ; Sat, 12 Mar 2022 14:33:54 +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 D7651A0DA for ; Sat, 12 Mar 2022 14:33:53 +0100 (CET) Received: from localhost ([::1]:57482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT1sW-0006Lp-LF for larch@yhetil.org; Sat, 12 Mar 2022 08:33:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT1rh-0006Lh-L8 for emacs-orgmode@gnu.org; Sat, 12 Mar 2022 08:33:01 -0500 Received: from [2607:f8b0:4864:20::62b] (port=35506 helo=mail-pl1-x62b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT1rc-0000hv-J9 for emacs-orgmode@gnu.org; Sat, 12 Mar 2022 08:32:58 -0500 Received: by mail-pl1-x62b.google.com with SMTP id n15so9952669plh.2 for ; Sat, 12 Mar 2022 05:32:55 -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=gwNbdqW6YJtGwjRFovgSqwueJ4VhS3UWLblPYTCE3W4=; b=JNHkTt8+2FiXYOFOBME1ePkax0x+zZKGyP3/2pc9OR9ZwUKyVv7QpN8dNUAvab8xAW 6Jq1a+nWEPmPdi7rI61W5NfJudoDcWsogA6I4UymyJayYIGqqEoiQxmgki2W2uTrNY72 WLYtLFTHw8gEruRIO0du3rfLEbm0Gl1rnsETrfI6xUx6ZVOhTW53XLDwJXFv2KG5jcXq KckDj4LETlChFI6+fObcnlX11tDlXyGX3ML0heJITmbrX3+iFs0L0RVjaySp5DwQwN2P DxXHaW7gtxcmz9Vg55NqhxxqcjOvKS/byPokBr2pIEzDIkFmT87q8gj2jj3EfYXaA1Dc Clvw== 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=gwNbdqW6YJtGwjRFovgSqwueJ4VhS3UWLblPYTCE3W4=; b=zJwxE/4U5Lw9kGL12bwgdOQOnCzB+//arZFxKgjXTkPMMNbrNevpFi2vxhFp+sjo24 /WXRLH3g62AimLszw+4fJ26+BOsuCGd4gzlSQ+iVizoDiatf5BPzdfH0Bfeb/UWcRuob qDZBbkXMMBeqevJe9hQcgI+1kh5RiNdAfRqApWMkzhYn364sbbXM/ZM2RZ+XKVrX3XTM FsAKeLH2xJIqDoRsP9p+L+Kc4XLagdNyKHZRiWQ/N4LxeDDjndQQDPTaef2DwPRWDpzF rderTp2GqpPU/U78l8h09kXyg5ikS4hs7zZj7lE4YWXFfkHNwgK4xfcR4q1sJcnq4mmH bEAQ== X-Gm-Message-State: AOAM530kiAME2WNpgV0Ky4pkF9ioeZVpDnv0Iy9MKQMnGHBPHNGydmpQ cHFi8fSVze/x5HKIAPCq+yw= X-Google-Smtp-Source: ABdhPJyh7fsByBhQI8G+tj+RGK00Eu+Zlqr597h0f9+GmZQeVqvwc72GcacI4K2VVJRO7atKYzIrSw== X-Received: by 2002:a17:902:eb8f:b0:151:63fa:f59b with SMTP id q15-20020a170902eb8f00b0015163faf59bmr15141979plg.93.1647091974024; Sat, 12 Mar 2022 05:32:54 -0800 (PST) Received: from localhost ([192.161.177.252]) by smtp.gmail.com with ESMTPSA id ic6-20020a17090b414600b001bf691499e4sm15635998pjb.33.2022.03.12.05.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Mar 2022 05:32:53 -0800 (PST) From: Ihor Radchenko To: Robert Mastragostino Subject: Re: Bug: org-agenda search is slow on Windows 10 [9.4.4 (release_9.4.4 @ c:/Program Files/Emacs/x86_64/share/emacs/27.2/lisp/org/)] In-Reply-To: References: Date: Sat, 12 Mar 2022 21:32:19 +0800 Message-ID: <874k43e1p8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62b (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62b.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: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647092033; 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=gwNbdqW6YJtGwjRFovgSqwueJ4VhS3UWLblPYTCE3W4=; b=dKJNAsF2nSBjFgU0qH5XGxi4Zm/Fl6RtVx+KXRJbz4lWXz/MB3xM/6cYolzPrTJAqswCp3 h2f1+Z/nr22CElIvnaRn6pfouFNEIgzN6ge6i6Ab3hrnx5xOML0DdTvfgOokH6BXvOfgc6 N1xuU+oYl21wBcONtz0KAB7eID6Vxqfguv3B3sYsmBHrT1xo9aqGKjrlt6iKWcon4pLdwB UgtFXpUZcPBLeoP1QgUJiMCr0T2uhwtzHrqt91yLSMt4XC+5eilR3AlRR7hFpPE+c0Sd5v cmUFIO37BTe44mk/tPnEl1KUU+ucKo0f3MLt9OJ/1oH+2X4iYntf9BAyiTe6lQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647092033; a=rsa-sha256; cv=none; b=eVfUSjOcbz59xZ+C0BotR/Ym6JH9EjY5oZXcdzRyiD/nr/FZ8Uvm/kM8pMZByuUcAHYV4c STMJvdVKeMeVcRtOnlCftBzhxg9ihjHMGE+93kjQJcFTtCnJoV5RdaUSteqx9NzmGxGMRJ fxZHsjZWVK/ImZu6fJ+4y/+qmq7NlSEz1PVzunDEDr196gYUnMWqXOmB89yDoX/Wer2+IG GrCU2uWn+49QRKlD6vPBic+6Uc3rv8+V5hzqH4q9to9NRTQ4z6ugKSw3C/W/1hPRCXte88 j2K5xE6iZv3mm2Jvv8e3mDtIy4MsSl7RoslwRGOxXSuu9bZL+0yNpL1ya9v4Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JNHkTt8+; 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: -8.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JNHkTt8+; 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: D7651A0DA X-Spam-Score: -8.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: zc/GzFVsPBPa Robert Mastragostino writes: > Hello, > > Org-agenda search is being unreasonably slow, taking several seconds to search through ~100 small files (a simple python program is practically instantaneous). I'm not familiar with proper emacs profiling but pausing in the middle of the search essentially always gives the stack trace below, where some recursion attempting to figure out file names is waiting on w32-long-file-name. > > I've also attached my init.el, though as far as I can tell this isn't interference from another package. We have significantly improved Org mode performance on development (main) branch. AFAIU, 100 small files should not be an issue on latest Org. Best, Ihor