From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58634: Long delay with blank screen whilst loading desktop at emacs startup Date: Fri, 21 Oct 2022 18:23:16 +0300 Message-ID: <8335bhw68r.fsf@gnu.org> References: <837d0vyssv.fsf@gnu.org> <83czamy76j.fsf@gnu.org> <83zgdqwjca.fsf@gnu.org> <838rl9wh4m.fsf@gnu.org> <834jvxwbuf.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7985"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58634@debbugs.gnu.org, juri@linkov.net To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 21 17:45:57 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oluDc-0001rw-RH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 17:45:57 +0200 Original-Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oluDU-0000Sq-Me for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 11:45:52 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oltsS-0007Rc-Vn for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 11:24:04 -0400 Original-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 1oltsQ-0007RU-Rh for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 11:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oltsQ-0002pF-KT for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 11:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oltsQ-0006K3-FS for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 11:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Oct 2022 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58634 X-GNU-PR-Package: emacs Original-Received: via spool by 58634-submit@debbugs.gnu.org id=B58634.166636580824253 (code B ref 58634); Fri, 21 Oct 2022 15:24:02 +0000 Original-Received: (at 58634) by debbugs.gnu.org; 21 Oct 2022 15:23:28 +0000 Original-Received: from localhost ([127.0.0.1]:38713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oltrr-0006J7-L7 for submit@debbugs.gnu.org; Fri, 21 Oct 2022 11:23:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oltrp-0006It-Ex for 58634@debbugs.gnu.org; Fri, 21 Oct 2022 11:23:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oltrj-0002XG-Cd; Fri, 21 Oct 2022 11:23:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=26eqZyN3lR+MTo7Jo2/cHBJSuP4I1NTQ8Uz2ZnDhi0Q=; b=jLkFoaluqvGU ksyCs2BVkDTPvKaZX//jCDcK0XFWKCB6YN4p9LRGmk/afyeztQ3Xf5dSEqVpkKqHWtkRewkQ7oBJd Udl4mMGQY18kqWu/9o/dE9m/RW2RwFKeAdxzxT9y4R4QQndgFYNOq3eifiRw0+dq8RC8HZlK5aYeQ TKtWo6GQ7gaObi7rLG4g+wK8JLh/0CzI5UIVQ2a/YK0mOeeWaouK3HyzhruwBYNAx7rDtFX82uBse wklIswJshbFly0j1xgDPKboXHP/We9Uq0pG7fSeLXBgm4BRJ4TQ72Bfp4plpFNZLPDqCCAptP3XJf X9cFtYOD7f9Nxdm/79Do4A==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oltri-0006Xw-Cw; Fri, 21 Oct 2022 11:23:19 -0400 In-Reply-To: (message from Alan Mackenzie on Fri, 21 Oct 2022 14:15:16 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245994 Archived-At: > Date: Fri, 21 Oct 2022 14:15:16 +0000 > Cc: juri@linkov.net, 58634@debbugs.gnu.org > From: Alan Mackenzie > > > > Restoring buffers: 127/166 > > > > as we restore the buffers. We already count the buffers as we load > > > them. > > > This will slow down the session restoration, so I'd rather avoid it. > > I've implemented it, and timed it. With the progress reporting enabled, > it takes 0.2% longer than with it disabled. This is negligible. In your case, maybe. I'm against adding this kind of trace.