From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter =?UTF-8?Q?M=C3=BCnster?= Newsgroups: gmane.emacs.bugs Subject: bug#25197: 26.0.50; notifications-notify is extremely slow with double buffering Date: Tue, 14 Sep 2021 17:58:32 +0200 Message-ID: <87fsu7i1xz.fsf@a16n.net> References: <87wpf3v3io.fsf@roche-blanche.net> <87v93iyr5b.fsf@gnus.org> <871r618ngv.fsf@a16n.net> <835yvdq7ac.fsf@gnu.org> <877dfs1q2g.fsf@a16n.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25913"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: larsi@gnus.org, 25197@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 14 18:21:10 2021 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 1mQBBG-0006UN-Na for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Sep 2021 18:21:10 +0200 Original-Received: from localhost ([::1]:42970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQBBF-0007oX-NL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Sep 2021 12:21:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQApq-00036U-6h for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 11:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQApp-0008SU-Te for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 11:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQApp-0003Su-RS for bug-gnu-emacs@gnu.org; Tue, 14 Sep 2021 11:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Peter =?UTF-8?Q?M=C3=BCnster?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Sep 2021 15:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 25197-submit@debbugs.gnu.org id=B25197.163163512213291 (code B ref 25197); Tue, 14 Sep 2021 15:59:01 +0000 Original-Received: (at 25197) by debbugs.gnu.org; 14 Sep 2021 15:58:42 +0000 Original-Received: from localhost ([127.0.0.1]:49998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQApV-0003SJ-UA for submit@debbugs.gnu.org; Tue, 14 Sep 2021 11:58:42 -0400 Original-Received: from server.a16n.net ([178.33.238.77]:34100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQApU-0003S5-CQ for 25197@debbugs.gnu.org; Tue, 14 Sep 2021 11:58:40 -0400 Original-Received: from ws.localdomain (arennes-657-1-262-212.w2-14.abo.wanadoo.fr [2.14.225.212]) by server.a16n.net (Postfix) with ESMTPSA id 6B51E43E0514; Tue, 14 Sep 2021 17:58:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=a16n.net; s=a16n; t=1631635113; bh=pwp7on5Iao4Vu08MT9dZFrVa1mETaG6ONKSVQbwZwa8=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=Q0yW92gkJgVDoxqnrU1DbPwFr9LYJY9RniG9/+TTBuEr81HOlDjjvgMkku7iCfDqk 9DTHp0XOszpcU3TzPtPHbKJIRclsl2RI+Z6SEO+UZ+9Bi5jM2T/KvQwJ0L8oQdLV3p WY6tS58TtEROxHC/uEVz30CbeFVHuyBPrDT1KszVazDNEYCfmysA5vI5oGzFfuTUdd /XQl0FR2IC3TlOBF4o8YzgP6kCOMp0iLsqJYhndITKyPhQ1Gf4kKGPzkiG821fezcn 4UWiZsqoF4ITo9XkwAKDpcOVAAdL9rh+WDApQlljDIwq2QhuKdX0nk0SX3sOt3clWx Gs71/HUX8ziAA== Original-Received: by ws.localdomain (Postfix, from userid 1000) id C839F204DC; Tue, 14 Sep 2021 17:58:32 +0200 (CEST) In-Reply-To: <877dfs1q2g.fsf@a16n.net> ("Peter =?UTF-8?Q?M=C3=BCnster?="'s message of "Tue, 07 Sep 2021 15:19:03 +0200") 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:214320 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, Sep 07 2021, Peter M=C3=BCnster wrote: > With my installed version 27.2 the first example takes 9 seconds. The > latter less than 1 second. Now I've finally compiled Emacs from git-master: time src/emacs -g 150x50 -Q --eval "(progn (require 'notifications) (dotime= s (i 20) (notifications-notify :title \"TEST\")) (kill-emacs))" real 0m0.505s user 0m0.286s sys 0m0.033s time src/emacs -g 500x200 -Q --eval "(progn (require 'notifications) (dotim= es (i 20) (notifications-notify :title \"TEST\")) (kill-emacs))" real 0m4.287s user 0m0.525s sys 0m0.088s =2D-=20 Peter --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iGoEARECACoWIQS/5hHRBUjla4uZVXU6jitvQ7HLaAUCYUDGqAwccG1AYTE2bi5u ZXQACgkQOo4rb0Oxy2jBqACgiKhxaXY6Wu+i6IHTKEfltfuUoz4AnRL5ZdovLnGD BYDYBO8jBwWsEdo2 =MQbT -----END PGP SIGNATURE----- --=-=-=--