x11perf

x11perf (x不用大寫) 是一個測試xserver的性能工具,工作在命令行,可以測試各種解析度的性能。

基本介紹

  • 中文名:x11perf
  • 性能:測試xserver
  • 工作:在命令行,可以測試各種解析度
  • 使用方法:啟動xserver, 命令行輸入startx
使用方法,參數,

使用方法

1. 先啟動xserver, 在命令行輸入“startx”命令。
2. 然後輸入“x11perf -all”命令。

參數

-displaySpecifies which display to use.-syncRuns the tests in synchronous mode. Normally only useful for debugging x11perf. -packRuns rectangle tests so that they pack rectangles rightnext to each other. This makes it easy to debug server code for stipplesand tiles...if the pattern looks ugly, you've got alignment problems. -repeat Repeats each test ntimes (by default each test is run 5 times). -time Specifies how long in seconds each test should be run (default 5 seconds).-allRuns all tests. This may take a while. -range Runs allthe tests starting from the specified name test1until the name test2,including both the specified tests. The testnames should be one of the optionsstarting from -dot. (eg) -range line100 will peform the tests from the 100pixel line test, and go on till the last test, -range line100,dline10 willdo the tests from line100 to dline10. -labelsGenerates just the descriptivelabels for each test specified. See x11perfcompfor more details. -fg Specifies the foreground color or pixel value to use. -bg Specifiesthe background color or pixel value to use. -clips Default numberof clip windows. -ddbg Specifies the color or pixel value touse for drawing the odd segments of a DoubleDashed line or arc. This willdefault to the bg color. -ropUse specified raster ops (defaultis GXcopy). This option only affects graphics benchmarks in which the graphicsfunction is actually used. -pmUse specified planemasks (defaultis ~0). This option only affects graphics benchmarks in which the planemaskis actually used. -depth Use a visual with <depth> planes per pixel (defaultis the default visual). -vclass Use a visual with of class <vclass>. <vclass> can be StaticGray, GrayScale, StaticColor, PseudoColor, TrueColor,or DirectColor. (default is the default visual). -reps Specify the repetioncount (Default is number that takes aprox. 5 seconds)

熱門詞條

聯絡我們