Re: [dev] [st] Limit refresh rate

2013-02-15 Thread Mihail Zenkov
2013/2/15, Christoph Lohmann <2...@r-36.net>: > 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. I try measure on hd6770 with open source driver - it have problem with 2d a

Re: [dev] [st] Limit refresh rate

2013-02-15 Thread Christoph Lohmann
Greetings. On Fri, 15 Feb 2013 19:34:37 +0100 Mihail Zenkov 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 d

[dev] [st] Limit refresh rate

2013-02-13 Thread Mihail Zenkov
This patch limit refresh rate by new (more efficient) way. Patch separate refresh in tree case: 1. app send something to terminal 2. we have XEvent 3. post XEvent In first case we can limit refresh to quite low rate (in patch 5 fps) to prevent useless overflow when app send to many text (progress