> I use "top -t" to show the performance when the browser was launched, 
> and I found that the thread "Compositor" consumes too much CPU resource >
24%

Enabling composer2d  means gecko will try to compose its layers to the
screen using an optimized hardware composer instead of the GPU. This is
intended to save GPU cycles, not CPU. Gecko may still use the CPU to render
content into the layers.

Even if composer2d is enabled, not all the frames are necessarily rendered
by the hardware composer. You can check by enabling FPS view in
Settings->"Device Information"->"More Information"->Developer->"Show frames
per second". GPU frames will show a number on the top left corner of the
screen. Composer2d frames will print this in logcat:

        I/Gecko   (  127): HWComposer: FPS is 59.9285
        I/Gecko   (  127): HWComposer: FPS is 60.0324

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to