jenkins-bot has submitted this change and it was merged.

Change subject: Clear the screen between runs to make SpeedIndex correct.
......................................................................


Clear the screen between runs to make SpeedIndex correct.

When we clear the screen after the first page that is accesssed, the start 
render
and SpeedIndex gets correct for the second page. The TTFB is still completely 
wrong
but that's ok for now because it is not used to calculate SpeedIndex. TTFB will 
hopefully
work when we switch to H2.

Bug: T129735
Change-Id: I237a48fd8e1b54d7c09d92421e60ead8f54c5d64
---
M scripts/wptscripts/second-view-desktop-enwiki-facebook.txt
M scripts/wptscripts/second-view-mobile-enwiki-facebook.txt
2 files changed, 8 insertions(+), 0 deletions(-)

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/wptscripts/second-view-desktop-enwiki-facebook.txt 
b/scripts/wptscripts/second-view-desktop-enwiki-facebook.txt
index a042d2e..afcea1d 100644
--- a/scripts/wptscripts/second-view-desktop-enwiki-facebook.txt
+++ b/scripts/wptscripts/second-view-desktop-enwiki-facebook.txt
@@ -1,5 +1,9 @@
 logData 0
 navigate https://en.wikipedia.org/wiki/Main_Page
 
+// Erase the current HTML to make the video easier to understand
+exec document.body.innerHTML = "";
+sleep  2
+
 logData 1
 navigate https://en.wikipedia.org/wiki/Facebook
diff --git a/scripts/wptscripts/second-view-mobile-enwiki-facebook.txt 
b/scripts/wptscripts/second-view-mobile-enwiki-facebook.txt
index 0b091f3..1d96991 100644
--- a/scripts/wptscripts/second-view-mobile-enwiki-facebook.txt
+++ b/scripts/wptscripts/second-view-mobile-enwiki-facebook.txt
@@ -1,5 +1,9 @@
 logData 0
 navigate https://en.m.wikipedia.org/wiki/Main_Page
 
+// Erase the current HTML to make the video easier to understand
+exec document.body.innerHTML = "";
+sleep  2
+
 logData 1
 navigate https://en.m.wikipedia.org/wiki/Facebook

-- 
To view, visit https://gerrit.wikimedia.org/r/277724
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I237a48fd8e1b54d7c09d92421e60ead8f54c5d64
Gerrit-PatchSet: 1
Gerrit-Project: performance/WebPageTest
Gerrit-Branch: master
Gerrit-Owner: Phedenskog <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to