speed up textfile display
Brought to you by:
ybizeul
Hi,
When displaying logfiles on the desktop, and they get written to a lot,
GeekTool becomes really slow.
The reason is the fact that scrolling to the bottom of a textfield is slow,
and tail -f data arrives in 510 byte chunks, so scrolling gets called a
lot.
I speeded this up by doing 2 things:
- only keeping the last 5 to 15 KB of output
- only scrolling every 0.3 second.
This really improves things. I hope you can apply this patch to
GeekTool.
Thanks,
Wout.
speed improvement for log file displays