
from core import perf_benchmark

from measurements import draw_properties
from telemetry import benchmark
import page_sets


# This benchmark depends on tracing categories available in M43
@benchmark.Disabled('reference')
class DrawPropertiesToughScrolling(perf_benchmark.PerfBenchmark):
  test = draw_properties.DrawProperties
  page_set = page_sets.ToughScrollingCasesPageSet
  @classmethod
  def Name(cls):
    return 'draw_properties.tough_scrolling'


# This benchmark depends on tracing categories available in M43
@benchmark.Disabled('reference','win')  # http://crbug.com/463111
class DrawPropertiesTop25(perf_benchmark.PerfBenchmark):
  """Measures the performance of computing draw properties from property trees.

  http://www.chromium.org/developers/design-documents/rendering-benchmarks
  """
  test = draw_properties.DrawProperties
  page_set = page_sets.Top25SmoothPageSet

  @classmethod
  def Name(cls):
    return 'draw_properties.top_25'


from core import perf_benchmark

from measurements import draw_properties
from telemetry import benchmark
import page_sets


# This benchmark depends on tracing categories available in M43
# This benchmark is still useful for manual testing, but need not be enabled
# and run regularly.
@benchmark.Disabled()
class DrawPropertiesToughScrolling(perf_benchmark.PerfBenchmark):
  test = draw_properties.DrawProperties
  page_set = page_sets.ToughScrollingCasesPageSet
  @classmethod
  def Name(cls):
    return 'draw_properties.tough_scrolling'


# This benchmark depends on tracing categories available in M43
# This benchmark is still useful for manual testing, but need not be enabled
# and run regularly.
@benchmark.Disabled()
class DrawPropertiesTop25(perf_benchmark.PerfBenchmark):
  """Measures the performance of computing draw properties from property trees.

  http://www.chromium.org/developers/design-documents/rendering-benchmarks
  """
  test = draw_properties.DrawProperties
  page_set = page_sets.Top25SmoothPageSet

  @classmethod
  def Name(cls):
    return 'draw_properties.top_25'

Disable the "draw properties" benchmark
Disable the "draw properties" benchmark

We'd still like to be able to run this benchmark manually, but we don't
need it to be run automatically.

BUG=None
CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_perf_bisect;tryserver.chromium.perf:win_perf_bisect;tryserver.chromium.perf:android_nexus5_perf_bisect

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

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

  
  from core import perf_benchmark
  
  from measurements import draw_properties
  from telemetry import benchmark
  import page_sets
  
  
  # This benchmark depends on tracing categories available in M43
+ # This benchmark is still useful for manual testing, but need not be enabled
+ # and run regularly.
- @benchmark.Disabled('reference')
+ @benchmark.Disabled()
  class DrawPropertiesToughScrolling(perf_benchmark.PerfBenchmark):
    test = draw_properties.DrawProperties
    page_set = page_sets.ToughScrollingCasesPageSet
    @classmethod
    def Name(cls):
      return 'draw_properties.tough_scrolling'
  
  
  # This benchmark depends on tracing categories available in M43
- @benchmark.Disabled('reference','win')  # http://crbug.com/463111
+ # This benchmark is still useful for manual testing, but need not be enabled
+ # and run regularly.
+ @benchmark.Disabled()
  class DrawPropertiesTop25(perf_benchmark.PerfBenchmark):
    """Measures the performance of computing draw properties from property trees.
  
    http://www.chromium.org/developers/design-documents/rendering-benchmarks
    """
    test = draw_properties.DrawProperties
    page_set = page_sets.Top25SmoothPageSet
  
    @classmethod
    def Name(cls):
      return 'draw_properties.top_25'
  
Disable the "draw properties" benchmark
## Code Before:

from core import perf_benchmark

from measurements import draw_properties
from telemetry import benchmark
import page_sets


# This benchmark depends on tracing categories available in M43
@benchmark.Disabled('reference')
class DrawPropertiesToughScrolling(perf_benchmark.PerfBenchmark):
  test = draw_properties.DrawProperties
  page_set = page_sets.ToughScrollingCasesPageSet
  @classmethod
  def Name(cls):
    return 'draw_properties.tough_scrolling'


# This benchmark depends on tracing categories available in M43
@benchmark.Disabled('reference','win')  # http://crbug.com/463111
class DrawPropertiesTop25(perf_benchmark.PerfBenchmark):
  """Measures the performance of computing draw properties from property trees.

  http://www.chromium.org/developers/design-documents/rendering-benchmarks
  """
  test = draw_properties.DrawProperties
  page_set = page_sets.Top25SmoothPageSet

  @classmethod
  def Name(cls):
    return 'draw_properties.top_25'

## Instruction:
Disable the "draw properties" benchmark
## Code After:

from core import perf_benchmark

from measurements import draw_properties
from telemetry import benchmark
import page_sets


# This benchmark depends on tracing categories available in M43
# This benchmark is still useful for manual testing, but need not be enabled
# and run regularly.
@benchmark.Disabled()
class DrawPropertiesToughScrolling(perf_benchmark.PerfBenchmark):
  test = draw_properties.DrawProperties
  page_set = page_sets.ToughScrollingCasesPageSet
  @classmethod
  def Name(cls):
    return 'draw_properties.tough_scrolling'


# This benchmark depends on tracing categories available in M43
# This benchmark is still useful for manual testing, but need not be enabled
# and run regularly.
@benchmark.Disabled()
class DrawPropertiesTop25(perf_benchmark.PerfBenchmark):
  """Measures the performance of computing draw properties from property trees.

  http://www.chromium.org/developers/design-documents/rendering-benchmarks
  """
  test = draw_properties.DrawProperties
  page_set = page_sets.Top25SmoothPageSet

  @classmethod
  def Name(cls):
    return 'draw_properties.top_25'
