On Thu, May 09, 2013 at 11:42:50PM +0200, Johannes Hofmann wrote:
> Hi,
> 
> as others also have noticed, Xft based st starts slow on some
> systems. For me it helps if FcFontSort() is done lazily as shown
> below.

My completely unscientific benchmarking confirms this on my machine:

[silvan@myarchbang st-git]$ time st -e exit

real    0m0.467s
user    0m0.440s
sys     0m0.003s
[silvan@myarchbang st-git]$ time st -e exit

real    0m0.542s
user    0m0.493s
sys     0m0.013s
[silvan@myarchbang st-git]$ time st -e exit

real    0m0.548s
user    0m0.473s
sys     0m0.000s

[silvan@myarchbang st-git]$ time ./st -e exit

real    0m0.049s
user    0m0.020s
sys     0m0.003s
[silvan@myarchbang st-git]$ time ./st -e exit

real    0m0.039s
user    0m0.023s
sys     0m0.000s
[silvan@myarchbang st-git]$ time ./st -e exit

real    0m0.088s
user    0m0.023s
sys     0m0.000s

More testing is desirable though.


Cheers,

Silvan


Reply via email to