Ubuntu主题性能测试与内核微调指南
主题性能测试
在Ubuntu系统中,对主题进行性能测试是很有必要的,这能够帮助我们了解不同主题在系统中的运行效率,从而选择最适合的主题。以下是一些常用的主题性能测试方法。
使用metacity - theme - viewer测试
Metacity是GNOME默认使用的合成窗口管理器。在UNR上运行以下命令可以对主题进行简单的性能测试:
$ metacity-theme-viewer Human该命令的输出结果如下:
Loaded theme “Human” in 0.02 seconds Drew 100 frames in 0.61 client-side seconds (16.1 milliseconds per frame) and 3.4817 seconds wall clock time including X server resources (34.817 milliseconds per frame)在测试Human Metacity主题时,该主题应在所有标签中正确渲染。此外,还有一个Benchmark标签可用于与其他主题的渲染速度进行比较。例如,Ubuntu Netbook Remix上的Human主题