emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about


From: Robert Pluim
Subject: Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s)
Date: Mon, 26 Mar 2018 18:59:06 +0200

Noam Postavsky <address@hidden> writes:

> On 26 March 2018 at 12:34, Robert Pluim <address@hidden> wrote:
>> Robert Pluim <address@hidden> writes:
>>
>>> I get the same: 0.1 seconds under GTK, 0.000446348s under -nw
>>
>> And profiling pointed at window--maybe-raise-frame. Testing then
>> pointed at make-frame-visible. Disabling the call to that in
>> window--maybe-raise-frame makes the test virtually instantaneous for
>> me. Looks like x_make_frame_visible is the culprit.
>
> Does changing x-wait-for-event-timeout affect this?

Yes. 0.001990967s with that let-bound to nil. The time increases as I increase
x-wait-for-event-timeout.

Robert



reply via email to

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