Commit feffc2f4 authored by erikchen's avatar erikchen Committed by Commit bot

telemetry: Remove Flash tab-switching benchmarks.

These tests have never worked on perf bots, and are currently disabled. See
https://code.google.com/p/chromium/issues/detail?id=530405#c10 for more details.

BUG=530405
CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_10_10_perf_bisect;tryserver.chromium.perf:win_perf_bisect;tryserver.chromium.perf:android_nexus5_perf_bisect

Review URL: https://codereview.chromium.org/1463503003

Cr-Commit-Position: refs/heads/master@{#361224}
parent bc113d52
......@@ -103,28 +103,3 @@ class TabSwitchingToughImageCases(perf_benchmark.PerfBenchmark):
@classmethod
def Name(cls):
return 'tab_switching.tough_image_cases'
@benchmark.Disabled('all')
class TabSwitchingFlashEnergyCases(perf_benchmark.PerfBenchmark):
test = tab_switching.TabSwitching
page_set = page_sets.FlashEnergyCasesPageSet
options = {'pageset_repeat': 10}
@classmethod
def Name(cls):
return 'tab_switching.flash_energy_cases'
@benchmark.Disabled('all')
class TabSwitchingPluginPowerSaver(perf_benchmark.PerfBenchmark):
test = tab_switching.TabSwitching
page_set = page_sets.FlashEnergyCasesPageSet
options = {'pageset_repeat': 10}
def SetExtraBrowserOptions(self, options):
options.AppendExtraBrowserArgs(['--enable-plugin-power-saver'])
@classmethod
def Name(cls):
return 'tab_switching.plugin_power_saver'
{
"description": "Describes the Web Page Replay archives for a page set. Don't edit by hand! Use record_wpr for updating.",
"archives": {
"flash_energy_cases_000.wpr": [
"http://nos.nl/video/712855-eerste-beelden-na-de-aanslag-in-canada.html",
"http://forum.gazeta.pl/forum/f,17007,Polityka_i_Gospodarka.html",
"http://tinypic.com/",
"https://www.facebook.com/video.php?v=524346051035153&set=vb.134474600022302&type=2&theater",
"http://v.qq.com/cover/d/dm9vn9cnsn2v2gx.html?ptag=v.newplaybutton.program.dpjd",
"http://videos.huffingtonpost.com/politics/protesters-march-to-hong-kong-leaders-home-518476075"
]
}
}
\ No newline at end of file
7d928f2c2f95999e26f00c72f8c9dd9a55932643
\ No newline at end of file
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.page import page as page_module
from telemetry.page import shared_page_state
from telemetry import story
class FlashEnergyCasesPage(page_module.Page):
def __init__(self, url, page_set):
super(FlashEnergyCasesPage, self).__init__(
url=url, page_set=page_set,
shared_page_state_class=shared_page_state.SharedDesktopPageState)
self.archive_data_file = 'data/flash_energy_cases.json'
class FlashEnergyCasesPageSet(story.StorySet):
""" Pages with flash heavy content. """
def __init__(self):
super(FlashEnergyCasesPageSet, self).__init__(
archive_data_file='data/flash_energy_cases.json',
cloud_storage_bucket=story.PARTNER_BUCKET)
urls_list = [
# pylint: disable=line-too-long
'http://v.qq.com/cover/d/dm9vn9cnsn2v2gx.html?ptag=v.newplaybutton.program.dpjd',
'http://videos.huffingtonpost.com/politics/protesters-march-to-hong-kong-leaders-home-518476075',
'http://nos.nl/video/712855-eerste-beelden-na-de-aanslag-in-canada.html',
# Why: Large flash ad
'http://forum.gazeta.pl/forum/f,17007,Polityka_i_Gospodarka.html',
# Why: Multiple flash ads
'http://tinypic.com/',
'https://www.facebook.com/video.php?v=524346051035153&set=vb.134474600022302&type=2&theater'
]
for url in urls_list:
self.AddStory(FlashEnergyCasesPage(url, self))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment