unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25197: 26.0.50; notifications-notify is extremely slow
@ 2016-12-13 22:59 Peter Münster
  2017-09-02 12:15 ` Eli Zaretskii
  2021-09-03  8:55 ` bug#25197: 26.0.50; notifications-notify is extremely slow with double buffering Lars Ingebrigtsen
  0 siblings, 2 replies; 12+ messages in thread
From: Peter Münster @ 2016-12-13 22:59 UTC (permalink / raw)
  To: 25197

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





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-09-16 13:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).