bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25197: 26.0.50; notifications-notify is extremely slow


From: Eli Zaretskii
Subject: bug#25197: 26.0.50; notifications-notify is extremely slow
Date: Sat, 02 Sep 2017 15:15:30 +0300

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]