New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 669192 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature
Proj-XR
Proj-XR-VR

Blocking:
issue 726906



Sign in to add a comment

Measure relevant performance metrics.

Project Member Reported by billorr@chromium.org, Nov 28 2016

Issue description

Add performance metrics for smoothness and glitches.
 
Labels: -Type-Bug -Pri-3 Proj-VR M-57 OS-Android Pri-2 Type-Feature
Labels: -OS-Android -M-57 OS-All
Is this for WebVR, VR shell, or both?
We'll need to track both webvr and vrshell. We probably also need to track update rate of contents when they're hosted within vrshell.

Suggest that we break out three separate bugs for this.
Labels: VR-DF
Blocking: 706436
Cc: tiborg@chromium.org billorr@chromium.org
Labels: -VR-DF
Owner: vollick@chromium.org
Blocking: -706436
Cc: tdres...@chromium.org leilei@chromium.org

Comment 9 by leilei@chromium.org, May 30 2017

For VrShell performance metrics, we can reuse existing smoothness benchmark(https://cs.chromium.org/chromium/src/tools/perf/benchmarks/smoothness.py?q=smoothness.py+package:%5Echromium$&l=1) to measure scrolling experience for VR, and some of smoothness metrics (https://cs.chromium.org/chromium/src/third_party/catapult/telemetry/telemetry/web_perf/metrics/smoothness.py?q=smoothness.py+package:%5Echromium$&dr) may be reusable for VR. 

For WebVR performance test, since Klaus  added tracing to track fps and frame time, we can implement Telemetry tests to measure fps and frame time for WebVr.
Blocking: 726906
We had meeting with tdresser@ this morning and figured out the draft plan about how to reuse existing smoothness benchmark to measure scrolling performance for Chrome VR.
1. We need to develop our own way to simulate scrolling in VR, the current solution to use gpubenchmarking script to scroll page is not suitable for Chrome VR, since the input pipeline is different.

We will somehow inject gesture data into VrController(https://cs.chromium.org/chromium/src/chrome/browser/android/vr_shell/vr_controller.cc?l=249) to simulate scrolling, VrShellGl::HandleControllerInput is called once every frame and pull the controller data from VrController.

2. We need to hook up two trace events into our rendering pipeline INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT and INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT, so we can measure e2e latency for scrolling. INPUT_EVENT_LATENCY_ORIGINAL_COMPONENT should be added when VrController detects gestures. INPUT_EVENT_GPU_SWAP_BUFFER_COMPONENT will probably be added before we send frame to GVR.

3. Run perf test in lab and reuse existing smoothness metrics to calculate latency.
Cc: klausw@chromium.org
 Issue 715610  has been merged into this issue.
Blocking: 732830
Labels: VR-Test
Status: Archived (was: Assigned)
Closing this in favor of more targeted bugs.
Blocking: -732830
Labels: Test-Complete

Sign in to add a comment