unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Peter Münster" <pmlists@free.fr>
Cc: 25197@debbugs.gnu.org
Subject: bug#25197: 26.0.50; notifications-notify is extremely slow
Date: Sat, 02 Sep 2017 15:15:30 +0300	[thread overview]
Message-ID: <83ziadz47x.fsf@gnu.org> (raw)
In-Reply-To: <87wpf3v3io.fsf@roche-blanche.net> (message from Peter Münster on Tue, 13 Dec 2016 23:59:59 +0100)

> From: Peter Münster <pmlists@free.fr>
> Date: Tue, 13 Dec 2016 23:59:59 +0100
> Cc: dancol@dancol.org
> 
> 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?

Daniel, could you please look into this issue?

Peter, does it help if you evaluate this:

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

?





  reply	other threads:[~2017-09-02 12:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-13 22:59 bug#25197: 26.0.50; notifications-notify is extremely slow Peter Münster
2017-09-02 12:15 ` Eli Zaretskii [this message]
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=83ziadz47x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=25197@debbugs.gnu.org \
    --cc=pmlists@free.fr \
    /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).