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

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

bug#16594: 24.3.50; very slow redraw when resizing windows horizontally


From: Eli Zaretskii
Subject: bug#16594: 24.3.50; very slow redraw when resizing windows horizontally
Date: Thu, 30 Jan 2014 18:15:27 +0200

> From: Darren Hoo <darren.hoo@gmail.com>
> Date: Thu, 30 Jan 2014 16:01:42 +0800
> 
> emacs -q
> (scroll-bar-mode 'nil)
> C-x 3
> 
> then try to resize the windows using mouse several times and emacs
> redisplay is so slow that you can notice the fringes besides the drag
> handle is repainted from top to bottom frame by frame.
> 
> profiling shows `read-event' takes much of the time, is this the real
> cause?
> 
> - command-execute                                                 207  98%
>  - call-interactively                                             207  98%
>   - mouse-drag-vertical-line                                      202  96%
>    - mouse-drag-line                                              202  96%
>     - eval                                                        202  96%
>      - track-mouse                                                202  96%
>       - funcall                                                   202  96%
>        - #<compiled 0x40a712ed>                                   202  96%
>         - read-event                                              184  87%
>          - redisplay_internal (C function)                          1   0%
>             eval                                                    1   0%
>   + profiler-report                                                 5   2%
> - ...                                                               2   0%
>    Automatic GC                                                     2   0%
> + redisplay_internal (C function)                                   1   0%

According to the profile, if there is something slow, it's not in the
display engine, but in read-event.





reply via email to

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