# 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 measurements import polymer_load
import page_sets
from telemetry import benchmark


@benchmark.Enabled('android')
class PolymerLoadPica(benchmark.Benchmark):
  """Measures time to polymer-ready for Pica (News Reader)."""
  test = polymer_load.PolymerLoadMeasurement
  page_set = page_sets.PicaPageSet


@benchmark.Enabled('android')
class PolymerLoadTopeka(benchmark.Benchmark):
  """Measures time to polymer-ready for Topeka (Quiz App)."""
  test = polymer_load.PolymerLoadMeasurement
  page_set = page_sets.TopekaPageSet

# 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 measurements import polymer_load
import page_sets
from telemetry import benchmark


@benchmark.Enabled('android')
class PolymerLoadPica(benchmark.Benchmark):
  """Measures time to polymer-ready for Pica (News Reader)."""
  test = polymer_load.PolymerLoadMeasurement
  page_set = page_sets.PicaPageSet


# There is something weird about this test (or a test that precedes it)
# that causes it to fail in telemetry_perf_unittests when it is not run
# as the first of the benchmark_smoke_unittest test cases.
# See crbug.com/428207.
#@benchmark.Enabled('android')
@benchmark.Disabled
class PolymerLoadTopeka(benchmark.Benchmark):
  """Measures time to polymer-ready for Topeka (Quiz App)."""
  test = polymer_load.PolymerLoadMeasurement
  page_set = page_sets.TopekaPageSet

Disable the polymer.load_topeka perf benchmark
Disable the polymer.load_topeka perf benchmark

There's something weird about this test or one of the other
test cases in the benchmark_smoke_unittest test suite that is
causing this test to hang when it is not run first.

I'm disabling this test for now so we can move on with the typ
cutover and get parallel test execution on the other platforms.

R=tonyg@chromium.org, ykyyip@chromium.org, dtu@chromium.org
BUG=428207

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

Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#301946}
