普通文本  |  27行  |  792 B

# Copyright 2013 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.
import sys

from telemetry import test

from measurements import session_restore


class SessionRestoreColdTypical25(test.Test):
  # crbug.com/325479: Disabling this test for now since it never ran before.
  enabled = not sys.platform.startswith('linux')
  tag = 'cold'
  test = session_restore.SessionRestore
  page_set = 'page_sets/typical_25.json'
  options = {'cold': True,
             'pageset_repeat_iters': 5}


class SessionRestoreWarmTypical25(test.Test):
  tag = 'warm'
  test = session_restore.SessionRestore
  page_set = 'page_sets/typical_25.json'
  options = {'warm': True,
             'pageset_repeat_iters': 20}