[PATCH] QA: Add log for wayland performance analysis

Quanxian Wang quanxian.wang at intel.com
Fri Feb 6 01:52:05 PST 2015


Overview
--------
This patch is to provide the mechanism to track weston rendering performance.

With these log information,
A tool is provided separately to analyze Wayland Apps or Server rendering
performance data and show them with FPS performance charts. These charts
give a clear image of rendering performance status. More important is 
the chart gives developer a hint which step cause the performance issue.
In the wiki page, you can find more successful test cases with FPS chart.

If wayland developer like it, we can push the code into weston upstream.
(writen with python)

Tools source code:
https://github.com/quanxianwang/wr-graph.git

You can find more information in wiki page.
https://wiki.tizen.org/wiki/Wayland_Rendering_Analysis_Tool

Quanxian Wang (1):
  Add wayland rendering performance log

 clients/perf_log_client.h | 51 ++++++++++++++++++++++++++++++++++++++++++++++
 clients/simple-egl.c      |  6 ++++++
 clients/window.c          |  5 +++++
 desktop-shell/shell.c     | 12 ++++++++---
 desktop-shell/shell.h     |  1 -
 src/compositor.c          |  8 ++++++++
 src/input.c               | 52 +++++++++++++++++++++++++++++++++++++++++++----
 src/log.c                 | 23 ++++++++++++++++++++-
 src/perf_log_server.h     | 38 ++++++++++++++++++++++++++++++++++
 9 files changed, 187 insertions(+), 9 deletions(-)
 create mode 100644 clients/perf_log_client.h
 create mode 100644 src/perf_log_server.h

-- 
1.8.1.2



More information about the wayland-devel mailing list