blob: f1e16379efd161d986a25bfbf9b4e4d989b477bb [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = 'Chrome OS Project,'
NAME = 'video_VideoDecodeMemoryUsage.vp9'
PURPOSE = 'Measure the memory usages of video playback'
ATTRIBUTES = "suite:video"
TEST_CATEGORY = 'Performance'
TEST_CLASS = 'video'
TEST_TYPE = 'client'
DOC = """
Measure the memory usage in different cases:
1. Play a video in a loop and check the memory usage.
2. Keep switching between two videos.
3. Repeat opening a tab and play a video in the tab.
tp101_1080p = ASSETS_BASE + '1080.webm'
tp101_360p = ASSETS_BASE + '360.webm'
testcases = [
['PlayVideo', [tp101_1080p]],
['ChangeVideoSource', [tp101_1080p, tp101_360p]],
['OpenTabPlayVideo', [tp101_1080p]],
job.run_test('video_VideoDecodeMemoryUsage', testcases=testcases, tag='vp9')