Firefox OS/Performance/Graphics Pipeline Instrumentation and Integration into the Cleopatra Profiler: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "==Introduction== A brief introduction on this project. Describe scope and what to expect. ==Project Plan== Please put links here to any relevant documentation. To be suc...")
 
No edit summary
Line 1: Line 1:
==Introduction==
==Introduction==


A brief introduction on this project. Describe scope and what to expect.
Currently, when we profile the Compositor thread in the b2g process with the Gecko Profiler, https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler, we see a limited set of data. I'd like to introduce more detail into the Cleopatra Profiler that explains with some detail, why we have graphics issues. For example, some ideas are being implemented by Benoit Girard - http://benoitgirard.wordpress.com/


==Project Plan==
==Project Plan==


Please put links here to any relevant documentation.  
The project consists of identifying the various stages in the pipeline, identifying cases where the graphics pipeline is slow and why, and finally instrumenting the Cleopatra profiler to identify common slow cases.


To be successful in this project, the following has to be accomplished:
To be successful in this project, the following has to be accomplished:
# Please enumerate a rough checklist for what must be accomplished to be successful.
# Identify slow paths in the graphics pipeline
# Identify causes of the slow paths in the graphics pipeline
# Create error messages and integrate the causes up to the Cleopatra profiler data
# Modify the Cleopatra front end to display the data in a human readable way
 
Some data that would be useful would be:
1) Touch input events and position - This would be useful for frame uniformity
2) Vsync events
3) APZC display port data
4) Current layer data


==Bugs==
==Bugs==
Line 14: Line 23:


==Proposal==
==Proposal==
Link to any existing proposals here.
http://benoitgirard.wordpress.com/ - For current work

Revision as of 16:18, 9 May 2014

Introduction

Currently, when we profile the Compositor thread in the b2g process with the Gecko Profiler, https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler, we see a limited set of data. I'd like to introduce more detail into the Cleopatra Profiler that explains with some detail, why we have graphics issues. For example, some ideas are being implemented by Benoit Girard - http://benoitgirard.wordpress.com/

Project Plan

The project consists of identifying the various stages in the pipeline, identifying cases where the graphics pipeline is slow and why, and finally instrumenting the Cleopatra profiler to identify common slow cases.

To be successful in this project, the following has to be accomplished:

  1. Identify slow paths in the graphics pipeline
  2. Identify causes of the slow paths in the graphics pipeline
  3. Create error messages and integrate the causes up to the Cleopatra profiler data
  4. Modify the Cleopatra front end to display the data in a human readable way

Some data that would be useful would be: 1) Touch input events and position - This would be useful for frame uniformity 2) Vsync events 3) APZC display port data 4) Current layer data

Bugs

Link to any existing bugs here.

Proposal

http://benoitgirard.wordpress.com/ - For current work