x-fontperf

x-fontperf is a small utility to measure X11 font loading time.
Download

x-fontperf Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freely Distributable
  • Price:
  • FREE
  • Publisher Name:
  • Holger Pfaff
  • Publisher web site:
  • http://pfaff.ws/x-fontperf.html

x-fontperf Tags


x-fontperf Description

x-fontperf is a small utility to measure X11 font loading time. x-fontperf is 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.It actually does three different tests:1) Loading the same font several timesGives you an average loading time for this particular font. If you use a font already in use in your x-session this should be really quick as this font will be reused and not actually loaded again (cached)2) Loading the same font in different sizes (incrementing)Default is from 6 to 144 pixel. Interesting to see how rendering time increases with font size (see option -v)3) Loading all available fontsThis should give you a good estimate on average fontloading time. Also a good test to stress your system and check if all fonts are loadable (see option -e)Sample output:x-fontperf -vx-fontperf: Copyright (c) Holger Pfaff - http://pfaff.wsx-fontperf: version 1.1 from 26-Mar-2004x-fontperf: connected to server: :0.0x-fontperf: server vendor: Gentoo Linux (XFree86 4.3.0, revision r3)x-fontperf: vendor release: 40300000x-fontperf: total of 6406 fonts foundx-fontperf: basefont: -*-helvetica-*-*-*-*-12-*-*-*-*-*-iso8859-1x-fontperf: loading basefont 100 times ... 6292 usec 62 usec/fontx-fontperf: loading font from pixel size 6 to 144 ... 2977820 usec 21578 usec/fontx-fontperf: loading all 6406 available fonts ... 34965472 usec 5458 usec/fontUsage:Usage: x-fontperf ... -display X-display to use -v Increase verbosity (may falsify results) -e Show errors during tests -n Number of iterations for test 1 -min Minimum pixel size for test 2 -max Maximum pixel size for test 2 -foundry Foundry of font -family Family of font -weight Weight of font -slant Slant of font -setwidth Set width of font -addstyle Additional style of font -pixelsize Pixel size of font -pointsize Point size of font -resolutionX X resolution of font -resolutionY Y resolution of font -spacing Spacing of font -avgwidth Average width of font -registry Registry of font -encoding Encoding of font Verbosity can be increased in three steps by specifying -v several times. No-tation -vvv is not supported. Use -v -v -v. Errors opening fonts are not shownby default. Use -e to see them. -n specifies the number of iterations for test 1. The default of 100 (shown inbrackets) should be ok for most systems. Increase/decrease values for fast/slowsystems-min/-max specifies the minimum/maximum pixel size for test 2. Pixel sizes areincremented by one.The last block of arguments is for specifying the basefont to use for tests 1and 2. These follow the standard x11 font naming scheme. Again: defaults areshown in brackets.What's New in This Release:· first public version 1.0


x-fontperf Related Software