From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!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 Date: Tue, 13 Dec 2016 23:59:59 +0100 Message-ID: <87wpf3v3io.fsf@roche-blanche.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481670381 3310 195.159.176.226 (13 Dec 2016 23:06:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 23:06:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 25197@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 14 00:06:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGw9G-000852-S7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Dec 2016 00:06:14 +0100 Original-Received: from localhost ([::1]:44508 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGw9L-0003IF-6I for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Dec 2016 18:06:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGw4I-0001dq-GM for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 18:01:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGw4E-0000bz-4F for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 18:01:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53968) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cGw4E-0000bk-1k for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 18:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cGw4D-0002ix-OL for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 18:01:01 -0500 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, 13 Dec 2016 23:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25197 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148167003910432 (code B ref -1); Tue, 13 Dec 2016 23:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Dec 2016 23:00:39 +0000 Original-Received: from localhost ([127.0.0.1]:41134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGw3n-0002i8-4h for submit@debbugs.gnu.org; Tue, 13 Dec 2016 18:00:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cGw3h-0002hr-Mz for submit@debbugs.gnu.org; Tue, 13 Dec 2016 18:00:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGw3Y-0000Jv-7R for submit@debbugs.gnu.org; Tue, 13 Dec 2016 18:00:24 -0500 Original-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 ) id 1cGw3Y-0000Jq-4z for submit@debbugs.gnu.org; Tue, 13 Dec 2016 18:00:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGw3T-0007oX-Nv for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 18:00:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGw3P-0000Gs-TI for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 18:00:15 -0500 Original-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 ) id 1cGw3P-0000G5-IU for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2016 18:00:11 -0500 Original-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 Original-Received: by micropit.roche-blanche.homenet.org (Postfix, from userid 1000) id BA1281B67D; Tue, 13 Dec 2016 23:59:59 +0100 (CET) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127015 Archived-At: Hello, Since commit c29071587c64efb30792bd72248d3c791abd9337 Author: Daniel Colascione 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