OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 from telemetry.page import page as page_module | 4 from telemetry.page import page as page_module |
5 from telemetry.page import page_set as page_set_module | 5 from telemetry.page import page_set as page_set_module |
6 | 6 |
7 | 7 |
8 class ToughSchedulingCasesPage(page_module.Page): | 8 class ToughSchedulingCasesPage(page_module.Page): |
9 | 9 |
10 def __init__(self, url, page_set): | 10 def __init__(self, url, page_set): |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 super(ToughSchedulingCasesPageSet, self).__init__() | 375 super(ToughSchedulingCasesPageSet, self).__init__() |
376 | 376 |
377 # Why: Simple scrolling baseline | 377 # Why: Simple scrolling baseline |
378 self.AddPage(ToughSchedulingCasesPage( | 378 self.AddPage(ToughSchedulingCasesPage( |
379 'file://tough_scheduling_cases/simple_text_page.html', | 379 'file://tough_scheduling_cases/simple_text_page.html', |
380 self)) | 380 self)) |
381 self.AddPage(Page1(self)) | 381 self.AddPage(Page1(self)) |
382 self.AddPage(Page2(self)) | 382 self.AddPage(Page2(self)) |
383 self.AddPage(Page3(self)) | 383 self.AddPage(Page3(self)) |
384 self.AddPage(Page4(self)) | 384 self.AddPage(Page4(self)) |
385 self.AddPage(Page5(self)) | 385 # Disabled until crbug.com/413829 is fixed. |
386 # self.AddPage(Page6(self)) Flaky crbug.com/368532 | 386 # self.AddPage(Page5(self)) |
| 387 # Disabled because of crbug.com/413829 and flakiness crbug.com/368532 |
| 388 # self.AddPage(Page6(self)) |
387 # Why: Touch handler scrolling baseline | 389 # Why: Touch handler scrolling baseline |
388 self.AddPage(ToughSchedulingCasesPage( | 390 self.AddPage(ToughSchedulingCasesPage( |
389 'file://tough_scheduling_cases/touch_handler_scrolling.html', | 391 'file://tough_scheduling_cases/touch_handler_scrolling.html', |
390 self)) | 392 self)) |
391 self.AddPage(Page7(self)) | 393 self.AddPage(Page7(self)) |
392 self.AddPage(Page8(self)) | 394 self.AddPage(Page8(self)) |
393 self.AddPage(Page9(self)) | 395 self.AddPage(Page9(self)) |
394 self.AddPage(Page10(self)) | 396 self.AddPage(Page10(self)) |
395 self.AddPage(Page11(self)) | 397 self.AddPage(Page11(self)) |
396 self.AddPage(Page12(self)) | 398 self.AddPage(Page12(self)) |
397 # Why: requestAnimationFrame scrolling baseline | 399 # Why: requestAnimationFrame scrolling baseline |
398 self.AddPage(ToughSchedulingCasesPage( | 400 self.AddPage(ToughSchedulingCasesPage( |
399 'file://tough_scheduling_cases/raf.html', | 401 'file://tough_scheduling_cases/raf.html', |
400 self)) | 402 self)) |
401 # Why: Test canvas blocking behavior | 403 # Why: Test canvas blocking behavior |
402 self.AddPage(ToughSchedulingCasesPage( | 404 self.AddPage(ToughSchedulingCasesPage( |
403 'file://tough_scheduling_cases/raf_canvas.html', | 405 'file://tough_scheduling_cases/raf_canvas.html', |
404 self)) | 406 self)) |
405 self.AddPage(Page13(self)) | 407 # Disabled until crbug.com/413829 is fixed. |
406 # Disabled for flakiness. See 368532 | 408 # self.AddPage(Page13(self)) |
| 409 # Disabled because of crbug.com/413829 and flakiness crbug.com/368532 |
407 # self.AddPage(Page14(self)) | 410 # self.AddPage(Page14(self)) |
408 self.AddPage(Page15(self)) | 411 self.AddPage(Page15(self)) |
409 self.AddPage(Page16(self)) | 412 self.AddPage(Page16(self)) |
410 # Why: Test a requestAnimationFrame handler with concurrent CSS animation | 413 # Why: Test a requestAnimationFrame handler with concurrent CSS animation |
411 self.AddPage(ToughSchedulingCasesPage( | 414 self.AddPage(ToughSchedulingCasesPage( |
412 'file://tough_scheduling_cases/raf_animation.html', | 415 'file://tough_scheduling_cases/raf_animation.html', |
413 self)) | 416 self)) |
414 # Why: Stress test for the scheduler | 417 # Why: Stress test for the scheduler |
415 self.AddPage(ToughSchedulingCasesPage( | 418 self.AddPage(ToughSchedulingCasesPage( |
416 'file://tough_scheduling_cases/raf_touch_animation.html', | 419 'file://tough_scheduling_cases/raf_touch_animation.html', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 # Why: Scroll bounce with slow handler on desktop, blocks only once until | 462 # Why: Scroll bounce with slow handler on desktop, blocks only once until |
460 # ACK timeout. | 463 # ACK timeout. |
461 self.AddPage(EmptyTouchHandlerPage( | 464 self.AddPage(EmptyTouchHandlerPage( |
462 name='bounce_desktop_slow_handler', | 465 name='bounce_desktop_slow_handler', |
463 desktop=True, | 466 desktop=True, |
464 slow_handler=True, | 467 slow_handler=True, |
465 bounce=True, | 468 bounce=True, |
466 page_set=self)) | 469 page_set=self)) |
467 # Why: For measuring the latency of scroll-synchronized effects. | 470 # Why: For measuring the latency of scroll-synchronized effects. |
468 self.AddPage(SynchronizedScrollOffsetPage(page_set=self)) | 471 self.AddPage(SynchronizedScrollOffsetPage(page_set=self)) |
OLD | NEW |