GNU bug report logs - #25197
26.0.50; notifications-notify is extremely slow with double buffering

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Peter M√ľnster <pmlists@HIDDEN>; dated Tue, 13 Dec 2016 23:01:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to '26.0.50; notifications-notify is extremely slow with double buffering' from '26.0.50; notifications-notify is extremely slow' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Sep 2017 10:51:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 03 06:51:42 2017
Received: from localhost ([127.0.0.1]:44852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1doSVC-0004RA-F2
	for submit <at> debbugs.gnu.org; Sun, 03 Sep 2017 06:51:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55916)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pm@HIDDEN>) id 1doSVA-0004Qx-Qv
 for submit <at> debbugs.gnu.org; Sun, 03 Sep 2017 06:51:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pm@HIDDEN>) id 1doSV1-0002R6-2n
 for submit <at> debbugs.gnu.org; Sun, 03 Sep 2017 06:51:35 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:33599)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <pm@HIDDEN>)
 id 1doSV0-0002Qn-Vg
 for submit <at> debbugs.gnu.org; Sun, 03 Sep 2017 06:51:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46810)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <pm@HIDDEN>) id 1doSUw-0003F6-6G
 for bug-gnu-emacs@HIDDEN; Sun, 03 Sep 2017 06:51:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pm@HIDDEN>) id 1doSUr-0002E9-LL
 for bug-gnu-emacs@HIDDEN; Sun, 03 Sep 2017 06:51:26 -0400
Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:46150
 helo=smtp.smtpout.orange.fr)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <pm@HIDDEN>)
 id 1doSUr-0001xX-Ah
 for bug-gnu-emacs@HIDDEN; Sun, 03 Sep 2017 06:51:21 -0400
Received: from ws.micropit.net ([2.11.42.227]) by mwinf5d53 with ME
 id 4yrA1w00J4u4N2i03yrACC; Sun, 03 Sep 2017 12:51:11 +0200
X-ME-Helo: ws.micropit.net
X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy
X-ME-Date: Sun, 03 Sep 2017 12:51:11 +0200
X-ME-IP: 2.11.42.227
Received: by ws.micropit.net (Postfix, from userid 1000)
 id 8C8B4164085E; Sun,  3 Sep 2017 12:51:10 +0200 (CEST)
From: =?utf-8?Q?Peter_M=C3=BCnster?= <pmlists@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: 26.0.50; notifications-notify is extremely slow
References: <87wpf3v3io.fsf@HIDDEN> <83ziadz47x.fsf@HIDDEN>
Date: Sun, 03 Sep 2017 12:51:10 +0200
Message-ID: <87val0f42p.fsf@ws>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.2 (----)
X-Debbugs-Envelope-To: submit
Cc: bug-gnu-emacs@HIDDEN, dancol@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.2 (----)

On Sat, Sep 02 2017, Eli Zaretskii wrote:

> Peter, does it help if you evaluate this:
>
>   (modify-frame-parameters nil '((inhibit-double-buffering . t)))

Yes, thanks!

Further information:

                                without i-d-b         with i-d-b
--------------------------------------------------------------------------
notification-daemon-0.5.0           0m11.474s           0m1.896s
mate-notification-daemon-1.18.0      0m4.940s           0m1.447s

I've switched from notification-daemon to mate-notification-daemon, so
it's kind of acceptable even without inhibit-double-buffering.

-- 
           Peter




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25197; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Sep 2017 12:16:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 02 08:16:12 2017
Received: from localhost ([127.0.0.1]:41665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1do7LQ-0003DB-7J
	for submit <at> debbugs.gnu.org; Sat, 02 Sep 2017 08:16:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50557)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1do7LO-00036i-Vm
 for submit <at> debbugs.gnu.org; Sat, 02 Sep 2017 08:16:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1do7LF-0003Pi-BJ
 for submit <at> debbugs.gnu.org; Sat, 02 Sep 2017 08:16:05 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:44759)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1do7LF-0003PZ-8F
 for submit <at> debbugs.gnu.org; Sat, 02 Sep 2017 08:16:01 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41493)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1do7LA-0003YX-Ah
 for bug-gnu-emacs@HIDDEN; Sat, 02 Sep 2017 08:16:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1do7L5-0003Lq-DF
 for bug-gnu-emacs@HIDDEN; Sat, 02 Sep 2017 08:15:56 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47419)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1do7Kt-0003G5-VN; Sat, 02 Sep 2017 08:15:40 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1993
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1do7Kt-0007K5-7C; Sat, 02 Sep 2017 08:15:39 -0400
Date: Sat, 02 Sep 2017 15:15:30 +0300
Message-Id: <83ziadz47x.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Peter =?iso-8859-1?Q?M=FCnster?= <pmlists@HIDDEN>
In-reply-to: <87wpf3v3io.fsf@HIDDEN> (message from Peter
 =?iso-8859-1?Q?M=FCnster?= on Tue, 13 Dec 2016 23:59:59 +0100)
Subject: Re: 26.0.50; notifications-notify is extremely slow
References: <87wpf3v3io.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: bug-gnu-emacs@HIDDEN, dancol@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Peter MŁnster <pmlists@HIDDEN>
> Date: Tue, 13 Dec 2016 23:59:59 +0100
> Cc: dancol@HIDDEN
> 
> Since
> 
> commit c29071587c64efb30792bd72248d3c791abd9337
> Author: Daniel Colascione <dancol@HIDDEN>
> Date:   Thu Oct 20 20:34:36 2016 -0700
>     Add double-buffering support to reduce flicker
> 
> notifications-notify is extremely slow, when the notification windows
> overlap the emacs window.
> 
> Command for testing:
> 
> time src/emacs -g 300x100 -Q --eval "(progn (require 'notifications)
>              (dotimes (i 20) (notifications-notify :title \"TEST\"))
>              (kill-emacs))"
> 
> Result before the commit:
> 
> real    0m1.820s
> user    0m0.668s
> sys     0m0.060s
> 
> Result after the commit:
> 
> real    0m11.782s
> user    0m0.636s
> sys     0m0.128s
> 
> "-g 300x100" or something similar is needed, to get a nearly full-screen
> window, so that the notifications overlap the emacs window.
> 
> How could I speed up the notifications please?

Daniel, could you please look into this issue?

Peter, does it help if you evaluate this:

  (modify-frame-parameters nil '((inhibit-double-buffering . t)))

?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25197; Package emacs. Full text available.
Added indication that bug 25197 blocks24655 Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 23:00:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 13 18:00:38 2016
Received: from localhost ([127.0.0.1]:41134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cGw3n-0002i8-4h
	for submit <at> debbugs.gnu.org; Tue, 13 Dec 2016 18:00:38 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48585)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pmlists@HIDDEN>) id 1cGw3h-0002hr-Mz
 for submit <at> debbugs.gnu.org; Tue, 13 Dec 2016 18:00:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pmlists@HIDDEN>) id 1cGw3Y-0000Jv-7R
 for submit <at> debbugs.gnu.org; Tue, 13 Dec 2016 18:00:24 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:60511)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <pmlists@HIDDEN>) id 1cGw3Y-0000Jq-4z
 for submit <at> debbugs.gnu.org; Tue, 13 Dec 2016 18:00:20 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39477)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <pmlists@HIDDEN>) id 1cGw3T-0007oX-Nv
 for bug-gnu-emacs@HIDDEN; Tue, 13 Dec 2016 18:00:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <pmlists@HIDDEN>) id 1cGw3P-0000Gs-TI
 for bug-gnu-emacs@HIDDEN; Tue, 13 Dec 2016 18:00:15 -0500
Received: from smtp09.smtpout.orange.fr ([80.12.242.131]:30256
 helo=smtp.smtpout.orange.fr)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <pmlists@HIDDEN>) id 1cGw3P-0000G5-IU
 for bug-gnu-emacs@HIDDEN; Tue, 13 Dec 2016 18:00:11 -0500
Received: from micropit.roche-blanche.homenet.org ([2.2.208.154])
 by mwinf5d44 with ME
 id Kazz1u00k3LQeh603b006G; Wed, 14 Dec 2016 00:00:08 +0100
X-ME-Helo: micropit.roche-blanche.homenet.org
X-ME-Auth: ZHJwbUB3YW5hZG9vLmZy
X-ME-Date: Wed, 14 Dec 2016 00:00:08 +0100
X-ME-IP: 2.2.208.154
Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000)
 id BA1281B67D; Tue, 13 Dec 2016 23:59:59 +0100 (CET)
From: =?utf-8?Q?Peter_M=C3=BCnster?= <pmlists@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.0.50; notifications-notify is extremely slow
Date: Tue, 13 Dec 2016 23:59:59 +0100
Message-ID: <87wpf3v3io.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: dancol@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hello,

Since

commit c29071587c64efb30792bd72248d3c791abd9337
Author: Daniel Colascione <dancol@HIDDEN>
Date:   Thu Oct 20 20:34:36 2016 -0700
    Add double-buffering support to reduce flicker

notifications-notify is extremely slow, when the notification windows
overlap the emacs window.

Command for testing:

time src/emacs -g 300x100 -Q --eval "(progn (require 'notifications)
             (dotimes (i 20) (notifications-notify :title \"TEST\"))
             (kill-emacs))"

Result before the commit:

real    0m1.820s
user    0m0.668s
sys     0m0.060s

Result after the commit:

real    0m11.782s
user    0m0.636s
sys     0m0.128s

"-g 300x100" or something similar is needed, to get a nearly full-screen
window, so that the notifications overlap the emacs window.

How could I speed up the notifications please?

TIA for any help,
-- 
           Peter




Acknowledgement sent to Peter M√ľnster <pmlists@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#25197; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 25 Nov 2017 14:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.