15c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu# Copyright 2014 The Chromium Authors. All rights reserved. 25c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu# Use of this source code is governed by a BSD-style license that can be 35c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu# found in the LICENSE file. 45c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu 55c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liufrom measurements import polymer_load 6116680a4aac90f2aa7413d9095a592090648e557Ben Murdochimport page_sets 7116680a4aac90f2aa7413d9095a592090648e557Ben Murdochfrom telemetry import benchmark 85c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu 95c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu 101320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci@benchmark.Enabled('android') 11116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass PolymerLoadPica(benchmark.Benchmark): 126e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) """Measures time to polymer-ready for Pica (News Reader).""" 135c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liu test = polymer_load.PolymerLoadMeasurement 14f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles) page_set = page_sets.PicaPageSet 156e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) 166e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) 171320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci@benchmark.Enabled('android') 186e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles)class PolymerLoadTopeka(benchmark.Benchmark): 196e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) """Measures time to polymer-ready for Topeka (Quiz App).""" 206e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) test = polymer_load.PolymerLoadMeasurement 216e8cce623b6e4fe0c9e4af605d675dd9d0338c38Torne (Richard Coles) page_set = page_sets.TopekaPageSet 22