From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25197: 26.0.50; notifications-notify is extremely slow Date: Sat, 02 Sep 2017 15:15:30 +0300 Message-ID: <83ziadz47x.fsf@gnu.org> References: <87wpf3v3io.fsf@roche-blanche.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1504354652 18567 195.159.176.226 (2 Sep 2017 12:17:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 2 Sep 2017 12:17:32 +0000 (UTC) Cc: 25197@debbugs.gnu.org To: Peter =?UTF-8?Q?M=C3=BCnster?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 02 14:17:19 2017 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 1do7MQ-0003xA-4u for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Sep 2017 14:17:14 +0200 Original-Received: from localhost ([::1]:42937 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do7MX-0003iR-86 for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Sep 2017 08:17:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do7MJ-0003hT-Cm for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:17:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do7ME-0003mD-D1 for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:17:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32986) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1do7ME-0003m7-AB for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1do7ME-0003sN-0f for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:17: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: Sat, 02 Sep 2017 12:17: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: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org, dancol@dancol.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150435457212371 (code B ref -1); Sat, 02 Sep 2017 12:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Sep 2017 12:16:12 +0000 Original-Received: from localhost ([127.0.0.1]:41665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do7LQ-0003DB-7J for submit@debbugs.gnu.org; Sat, 02 Sep 2017 08:16:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50557) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1do7LO-00036i-Vm for submit@debbugs.gnu.org; Sat, 02 Sep 2017 08:16:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do7LF-0003Pi-BJ for submit@debbugs.gnu.org; Sat, 02 Sep 2017 08:16:05 -0400 Original-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 ) id 1do7LF-0003PZ-8F for submit@debbugs.gnu.org; Sat, 02 Sep 2017 08:16:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do7LA-0003YX-Ah for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:16:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do7L5-0003Lq-DF for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2017 08:15:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do7Kt-0003G5-VN; Sat, 02 Sep 2017 08:15:40 -0400 Original-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 ) id 1do7Kt-0007K5-7C; Sat, 02 Sep 2017 08:15:39 -0400 In-reply-to: <87wpf3v3io.fsf@roche-blanche.net> (message from Peter =?UTF-8?Q?M=C3=BCnster?= on Tue, 13 Dec 2016 23:59:59 +0100) 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-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:136465 Archived-At: > From: Peter Münster > Date: Tue, 13 Dec 2016 23:59:59 +0100 > Cc: dancol@dancol.org > > 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? Daniel, could you please look into this issue? Peter, does it help if you evaluate this: (modify-frame-parameters nil '((inhibit-double-buffering . t))) ?