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 sOWWMn5i9mL7rwAAbAwnHQ (envelope-from ) for ; Fri, 12 Aug 2022 16:23:58 +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 iELbMX5i9mJJjgAAG6o9tA (envelope-from ) for ; Fri, 12 Aug 2022 16:23:58 +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 5A115A2C2 for ; Fri, 12 Aug 2022 16:23:58 +0200 (CEST) Received: from localhost ([::1]:60524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMVZt-0003mX-7Q for larch@yhetil.org; Fri, 12 Aug 2022 10:23:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMVYU-0003jS-Uz for emacs-orgmode@gnu.org; Fri, 12 Aug 2022 10:22:30 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:34486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMVYS-0005Ul-6i for emacs-orgmode@gnu.org; Fri, 12 Aug 2022 10:22:30 -0400 Received: by mail-pl1-x635.google.com with SMTP id z19so896894plb.1 for ; Fri, 12 Aug 2022 07:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=L821uTEMif5pIDWxzTx9TRdGxAov9R86ZgocF4Om6sk=; b=cjprTTpyQx12i1BUIt0U001oNd+hYnFlXmsQd3v6rujR0Oqd82NGBhTunN1rgtseoy zXH9Zlj4G2IEep1FotC9I70NjTksY3yYV1hA6BcKUIooeFqDQcIh+XY9YzgRD4IBgmtI EhTLwAww8n/Po9fqFxgpXOF28XL8W+k3A0hqO7VIS4XL7f5Vnu3EIhsCrv8XnxZXIkMz FHCYc/EcfsTNNIxTkZEz2aBHDR53WVkEBY10L7W1hCIHtb0r27DA9jVEfcP3lcjjFosb hJEeUujJtmQ5sqkqO94qCGsGKYSSOVR8vr12Ap8s9kJS6psa6JDdw9ao1uEmRsFRLQ7+ Hibg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=L821uTEMif5pIDWxzTx9TRdGxAov9R86ZgocF4Om6sk=; b=CHmITvi+cRfTnLQt2oYyd2rdHwA7VuH/BHD5aFRe4x0CiYYYPu5cEw+7Y8GKmS+CX0 9jPxDnfeSqhGvdmjn+kvEFkSqKYjARjA27bm9yKFVm3DL/C6EioCBG7Wazy8yJLs3yGa T2QtIKci/ib72j5N07oXBQjLkh+U6rxf99MXuz30Anq5Yje5Hj4V4UjXhnSI286YN0rh z0uoG2FuUd6Gy+2nW3dWSBsDJbo6gZ2yXpQXubBoUHGlLS0BZxZgV96VQlythCki/2sK oICw78OvfoDu97NA2/L6CAqpthaFU+bSti5LEV9MeDZBvAVQp+Q1TqpaFpX656ESzWxb iMWw== X-Gm-Message-State: ACgBeo1vefoayniECfCEBdTJKLJEKcoF3euSJaBQtKg2THyI3fckk4t8 j5BO4jVFDm1bwf8NVs7iN2I= X-Google-Smtp-Source: AA6agR7QNZvE3J5wAasrnx+xiOr+H4wchqnkBxbkORYtm31SunsloltIZEyapJSSO0C5rqMityxf7A== X-Received: by 2002:a17:902:7e43:b0:170:cc72:5176 with SMTP id a3-20020a1709027e4300b00170cc725176mr4211801pln.1.1660314146780; Fri, 12 Aug 2022 07:22:26 -0700 (PDT) Received: from localhost ([2409:8a70:2bf:80b0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id u5-20020a170903124500b00162529828aesm1803026plh.109.2022.08.12.07.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 07:22:26 -0700 (PDT) From: Ihor Radchenko To: "Christopher M. Miles" Cc: Org Mode Subject: Re: [PERFORMANCE] Why some org code is so deep invoked? In-Reply-To: <62f660a5.1f0a0220.73d8b.c78bSMTPIN_ADDED_BROKEN@mx.google.com> References: <62f5a905.c80a0220.1f07b.ffaeSMTPIN_ADDED_BROKEN@mx.google.com> <87o7wq8c1m.fsf@localhost> <62f645de.050a0220.ff872.76ffSMTPIN_ADDED_BROKEN@mx.google.com> <87h72h8v1j.fsf@localhost> <62f660a5.1f0a0220.73d8b.c78bSMTPIN_ADDED_BROKEN@mx.google.com> Date: Fri, 12 Aug 2022 22:23:26 +0800 Message-ID: <87bksp8rs1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=yantar92@gmail.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, T_SCC_BODY_TEXT_LINE=-0.01 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-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=1660314238; 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=L821uTEMif5pIDWxzTx9TRdGxAov9R86ZgocF4Om6sk=; b=nG9PLP9evXv8NuQPZYEBwa3j8+ePsP7DvdNbl1ewXqdzJXrAC0836yG4twefyuwKZmGjqm ijirjUWluwE2i80vp0D/Up5SYeUdotaIxh/FQ+qkl7slOOeXJlo/1PIjXjJZuaNi4tLuMs PEFiig0cY6sHKLzPZrYTM/h79emAmMWh2nTcWcQPG1XrSwGfNIqQU58NlM551aSALsAuQo lPFBTSs+eHQxzeAoTCofq9KLE5FqqnwG5JSAkIz4yNFRi0GU5OlAAVC28Qtg2EvZtaq1W1 AzwT995tmcFitDEl91owEz2SDdR55MX8PxEIbjH6aI6ahufZW88mUZ8sc2RxSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660314238; a=rsa-sha256; cv=none; b=WvUlVNHdRqpNcI/lHz6ROac+RwTi8Ek450g4t8dDRGBKow3fC6JpUwvnLJZY4iPiJkFsWY Yc7A19L80q4JWFsPmFxgkn6et6ZgUIjnwcVzZLu4eRmG/Ghd1GYkihAiiQWWa4GLcLzVCL UYxpxGb0lSBP05Ba0HCpo2DJAWQ4TMEx2dPlR77+UC7V7GidJX2kMpr9OaHmBqbCYh+whH c5ERJmM8ZDKlrJ6PMetw+G+2wtlelVYZQLid9afIe+1G8inB/JVx28nIG525o+lMT/7PPf hzCEqj0AqDNFkWstnP+hTvCtJgERPeZqSJy9QW+0qQSExdbdvTTGsxAbqpjQTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cjprTTpy; 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: -0.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=cjprTTpy; 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: 5A115A2C2 X-Spam-Score: -0.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: HjrTEqqSglv1 "Christopher M. Miles" writes: >> Also, I suggest to use M-x write-file in the profiler buffer when >> sharing something as deeply nested as you got. The resulting file is >> much more comfortable to view - it will preserve all the actual profiler >> data. > > I see, I tried it, it indeed kept the profiler data! > >> >> I will refrain from trying to deduce anything from the profiler for now. >> >> Please try to reproduce the report again and share it with us. Then, I >> will try to see if we can do anything on the Org side. > > Ok, I attached the new generated profiler reports. Oops. I was wrong about M-x write-file. Should be M-x profiler-report-write-profile Sorry for creating confusion. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92