Re: [dev] [st] Limit refresh rate

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Fri, 15 Feb 2013 19:34:37 +0100

Greetings.

On Fri, 15 Feb 2013 19:34:37 +0100 Mihail Zenkov <mihail.zenkov_AT_gmail.com> wrote:
> I also check and tune this patch with profiler. With limit 30fps I
> have two time lower cpu consumption (by each - st and xorg). With 5
> fps it very low and I can't accurately measure it.

I applied your patch nearly as you did to st, because it seems to be the
right workaround to have some framerates in st. With your default of
30fps for x events and 5 fps for events if there is action from the tty
makes st feel sluggish.

Please try to see how much the CPU usage changed with the defaults in
the repository. I can’t really apply 5 fps; this makes output feel like
the terminal is hanging.


Sincerely,

Christoph Lohmann
Received on Fri Feb 15 2013 - 19:34:37 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 21 2013 - 19:22:06 CET