diff options
Diffstat (limited to 'testing/talos/talos/startup_test/tspaint_test.html')
-rw-r--r-- | testing/talos/talos/startup_test/tspaint_test.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/talos/talos/startup_test/tspaint_test.html b/testing/talos/talos/startup_test/tspaint_test.html index 7282f1fcfa..2666b8ab43 100644 --- a/testing/talos/talos/startup_test/tspaint_test.html +++ b/testing/talos/talos/startup_test/tspaint_test.html @@ -25,7 +25,9 @@ async function painted() { let startupInfo = await TalosPowersContent.getStartupInfo(); - let startupTime = startupInfo.firstPaint - startupInfo.process; + // firstPaint2 is a more accurate measurement that checks that pixels are actually visible, + // not merely that the calls to paint them have been completed. + let startupTime = startupInfo.firstPaint2 - startupInfo.process; document.body.textContent = "Startup time = " + startupTime + " ms"; if (window.dump) { |