[.home.]
[.hacks.]
[.x11.]

Fontperf

X-fontperf

A small utility to measure font rendering/loading time in an x11 environment. Originally intended to see if there is any notable performance difference between a separate font server and local font rendering.


Sample output:

# x-fontperf -v
x-fontperf: Copyright (c) Holger Pfaff - http://pfaff.ws
x-fontperf: version 1.1 from 26-Mar-2004
x-fontperf: connected to server: :0.0
x-fontperf: server vendor: Gentoo Linux (XFree86 4.3.0, revision r3)
x-fontperf: vendor release: 40300000
x-fontperf: total of 6406 fonts found
x-fontperf: basefont: -*-helvetica-*-*-*-*-12-*-*-*-*-*-iso8859-1
x-fontperf: loading basefont 100 times ... 6292 usec 62 usec/font
x-fontperf: loading font from pixel size 6 to 144 ... 2977820 usec 21578 usec/font
x-fontperf: loading all 6406 available fonts ... 34965472 usec 5458 usec/font



Some results:

OS Processor Font Test#1 Test#2 #Fonts Test#3
Gentoo Linux AMD Duron @ 1858Hz helvetica-12 62 21578 6406 5458
Gentoo Linux AMD Duron @ 1858Hz courier-12 1453 17630 6406 5432
Sun Solaris 8 UltraSparc IIe @ 500Hz helvetica-12 3963 200806 1585 25050
Sun Solaris 8 UltraSparc IIe @ 500Hz courier-12 147565 221131 1585 25282

Feel free to mail me your results.


[.download.]