unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: 25197@debbugs.gnu.org
Subject: bug#25197: 26.0.50; notifications-notify is extremely slow
Date: Tue, 13 Dec 2016 23:59:59 +0100	[thread overview]
Message-ID: <87wpf3v3io.fsf@roche-blanche.net> (raw)

Hello,

Since

commit c29071587c64efb30792bd72248d3c791abd9337
Author: Daniel Colascione <dancol@dancol.org>
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





             reply	other threads:[~2016-12-13 22:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-13 22:59 Peter Münster [this message]
2017-09-02 12:15 ` bug#25197: 26.0.50; notifications-notify is extremely slow Eli Zaretskii
2017-09-03 10:51   ` Peter Münster
2021-09-03  8:55 ` bug#25197: 26.0.50; notifications-notify is extremely slow with double buffering Lars Ingebrigtsen
2021-09-06 20:21   ` Peter Münster
2021-09-07  5:33     ` Eli Zaretskii
2021-09-07 13:19       ` Peter Münster
2021-09-14 15:58         ` Peter Münster
2021-09-15  8:01           ` Lars Ingebrigtsen
2021-09-15 12:24             ` Peter Münster
2021-09-16 12:23               ` Lars Ingebrigtsen
2021-09-16 13:56                 ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpf3v3io.fsf@roche-blanche.net \
    --to=pmlists@free.fr \
    --cc=25197@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).