From 95674af2ef3c3028d903272f606295209fbb6b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Markb=C3=A5ge?= Date: Thu, 1 Aug 2019 17:13:39 -0700 Subject: [PATCH] Add test of scheduler overhead (#16260) --- fixtures/scheduler/index.html | 93 ++++++++++++++++++++++++++++++++++- 1 file changed, 91 insertions(+), 2 deletions(-) diff --git a/fixtures/scheduler/index.html b/fixtures/scheduler/index.html index 4c425b95ebed7..fdf831e2792f8 100644 --- a/fixtures/scheduler/index.html +++ b/fixtures/scheduler/index.html @@ -119,9 +119,37 @@

Tests:

+
  • +

    Runs scheduled JS work for 99% of the frame time when nothing else is using the thread.

    +

    NOTE: Try this test both when nothing else is running and when something is using the compositor thread in another visible tab with video or WebGL content (Shift+Click).

    + +
    Expected:
    +
    +
    +
    -------------------------------------------------
    +
    If you see the same above and below it's correct. +
    -------------------------------------------------
    +
    Actual:
    +
    +
    +
  • +
  • +

    Runs scheduled JS work more than 95% of the frame time when inserting DOM nodes.

    +

    NOTE: Try this test both when nothing else is running and when something is using the compositor thread in another visible tab with video or WebGL content (Shift+Click).

    + +
    Expected:
    +
    +
    +
    -------------------------------------------------
    +
    If you see the same above and below it's correct. +
    -------------------------------------------------
    +
    Actual:
    +
    +
    +
  • - - + +