From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qDxUNXvUGWB5WQAA0tVLHw (envelope-from ) for ; Tue, 02 Feb 2021 22:38:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yEYkMXvUGWASYwAAB5/wlQ (envelope-from ) for ; Tue, 02 Feb 2021 22:38:51 +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 4E8B9940274 for ; Tue, 2 Feb 2021 22:38:51 +0000 (UTC) Received: from localhost ([::1]:37846 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l74Jt-000501-0a for larch@yhetil.org; Tue, 02 Feb 2021 17:38:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l74JW-0004zr-IL for emacs-orgmode@gnu.org; Tue, 02 Feb 2021 17:38:26 -0500 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:37006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l74JU-0002Ue-ME for emacs-orgmode@gnu.org; Tue, 02 Feb 2021 17:38:26 -0500 Received: by mail-lj1-x22a.google.com with SMTP id m22so18551724ljj.4 for ; Tue, 02 Feb 2021 14:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=HJaAtTf67OqqlKjf9xYZtOV0xt8he5elYO5do51n33A=; b=S9Ve8IswR/y2Aw0dKp01FSYBgPvUoeFZO66RcYFN3f6rmg25nmW07hgmQM3u97rEbZ rvzMWHmJf+zXRJbPNAtsogi9r/owa7H7q1kAnefjHafEEJR4G/Eo2QGg+dtA0Sbsz+k6 aqGvXik/Jag/Pepu+LXyjlSRDHxnk++W1RN91Xs5WxdU97w9saVlv57nmTCs2LoA58gQ Ok6MVSSNkwELRChqdihHpu2DylNrG4kSWdGKUIklu6HceNb/kAeCYHo0WHLKdEj+HUqE 4dsa8gXKcYWWusxFeEcmyxdnYni2VTl4OsCEfo3LnwLXe6PNlEb7x4p7tgNFSRZBr6+S VAIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=HJaAtTf67OqqlKjf9xYZtOV0xt8he5elYO5do51n33A=; b=J85af6PSi6stwGZWtaB7ILWXe5HAsxlMwlLpfUoOLQvF/RXB7QuN2qZTAr0Pn9R6tS 5HmSX9bn1Ks3uO+eSoBFwusA5pR8eCNIac8HxKTcAuA0DwgfzNvYp0dEaWOWGqrJLXyR corUiCJdTn7X91fWek/eXtpeR04VSEx5+y/B98J8dgRpIuigZi8kUUAGuVXV4H+6hPFk Cnuj545EGvM1mGYmoSd6FqRBgDyS61Od+PZAX2P24IgnUDkCY+c/RSQW1/UERJ65UH59 dljAxQS3lyaEBoenbaaSpYoOONKfV9X9KlKRXvSY4I7yJhmIt4jxtnjQIFRi3JyK3Gs8 Vfyw== X-Gm-Message-State: AOAM531NlEu1BaKmHsLdXScxEzz9CEzNx7im4GWbjPxXnf6k46ow/z7M 2iSb52hL6qOm0OAliB5DViw30WGNnrjvODL8cJHNhbu3+k7hHQ== X-Google-Smtp-Source: ABdhPJzpiK2ug4d5bNi540tN1kir5XVwZDgJPpwkNp1Ul2I7Cssa39od9W8V35SBsTZ7T06WocvvNTXu0gq0mLxern4= X-Received: by 2002:a2e:8e26:: with SMTP id r6mr13756991ljk.451.1612305502469; Tue, 02 Feb 2021 14:38:22 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6504:3108:0:0:0:0 with HTTP; Tue, 2 Feb 2021 14:38:22 -0800 (PST) From: Samuel Wales Date: Tue, 2 Feb 2021 15:38:22 -0700 Message-ID: Subject: batch archiving is too slow for my computer ... is it really intensive? To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22a; envelope-from=samologist@gmail.com; helo=mail-lj1-x22a.google.com 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, 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.23 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-Spam-Score: -2.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=S9Ve8Isw; 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: 4E8B9940274 X-Spam-Score: -2.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: OfcmXGSRx+XY maint. i have an old computer, which usually has no problems if i am careful, except org is recently somewhat slower. with agenda batch archiving, however, even for just a few entries, the cpu overheats. the cpu never gets above 28% in a dual core in gkrellm, meaning that only 1/4 of total capacity in a dual core is used. i don't know why that makes it overheat. here is a profiler report for archiving 2 entries. then 2 entries again. is this kind of a normal profiler report? thanks. - command-execute 297,963,432 99% - call-interactively 297,963,432 99% - funcall-interactively 297,963,432 99% - org-agenda-bulk-action 273,550,028 91% - org-agenda-archive 272,853,572 91% - funcall-interactively 272,853,508 91% - org-agenda-archive-with 272,853,508 91% - org-archive-subtree 272,828,828 91% - org-show-all 262,058,419 87% - org-cycle-hide-drawers 260,230,547 87% - # 260,226,323 87% - org-element-at-point 254,156,375 85% - org-element--parse-to 251,281,887 84% - org-element--current-element 247,748,793 83% - org-element-planning-parser 13,355,147 4% - org-element-timestamp-parser 11,180,859 3% - org-parse-time-string 5,781,180 1% string-to-number 3,726 0% match-string-no-properties 2,206,416 0% match-string 1,863 0% - org-at-heading-p 841,472 0% outline-on-heading-p 106,496 0% + org-element--list-struct 528,710 0% org-element-property-drawer-parser 414,880 0% org-element--collect-affiliated-keywords 348,220 0% + org-element-drawer-parser 340,004 0% org-element-paragraph-parser 296,720 0% org-element-plain-list-parser 155,040 0% org-element-item-parser 18,496 0% org-element-comment-parser 8,192 0% outline-previous-heading 106,574 0% + org-at-heading-p 1,374,384 0% + org-hide-drawer-toggle 5,006,924 1% + org-flag-region 1,827,872 0% + find-file-noselect 9,965,693 3% + org-entry-put 233,830 0% + org-get-category 118,306 0% + org-reveal 78,080 0% + org-update-statistics-cookies 65,870 0% + org-get-outline-path 54,804 0% + org-entry-get 50,410 0% + org-paste-subtree 32,604 0% + org-cut-subtree 27,552 0% + org-archive--compute-location 25,772 0% + org-copy-subtree 21,428 0% abbreviate-file-name 16,432 0% org-string-nw-p 12,524 0% do-after-load-evaluation 11,682 0% + jit-lock-after-change 8,696 0% + org-get-tags 5,408 0% org-up-heading-safe 4,096 0% + substitute-env-in-file-name 1,154 0% + find-buffer-visiting 1,048 0% + org-back-to-heading 1,024 0% + org-remove-subtree-entries-from-agenda 8,240 0% # 1,604 0% + org-unlogged-message 693,000 0% + read-char-exclusive 1,456 0% + save-some-buffers 15,634,438 5% + ido-hacks-execute-extended-command 8,770,778 2% + tooltip-show-help-non-mode 25,588 0% mouse-fixup-help-message 17,960 0% + redisplay_internal (C function) 11,170 0% + timer-event-handler 3,123 0% ... 0 0%