Current time: 11-24-2017, 06:28 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Chrome on LInux - Slow fullyLoaded time
08-12-2017, 06:20 AM
Post: #1
Chrome on LInux - Slow fullyLoaded time
I'm experimenting with moving my WPT agents from windows to Linux but have encountered a potential blocker. Some pages are now showing fully loaded times of 30+ seconds when they were consistently ~ 3 seconds. The waterfalls show no network activity during the delay. The result is that test execution times have skyrocketed and agent throughput has tanked. Is this an issue with Chrome on Linux? Is there a way I can tell WPT to not wait so long? There is an API parameter to stop the test at document complete, but this is too soon.
Find all posts by this user
Quote this message in a reply
08-12-2017, 09:26 AM
Post: #2
RE: Chrome on LInux - Slow fullyLoaded time
(08-12-2017 06:20 AM)cpk Wrote:  I'm experimenting with moving my WPT agents from windows to Linux but have encountered a potential blocker. Some pages are now showing fully loaded times of 30+ seconds when they were consistently ~ 3 seconds. The waterfalls show no network activity during the delay. The result is that test execution times have skyrocketed and agent throughput has tanked. Is this an issue with Chrome on Linux? Is there a way I can tell WPT to not wait so long? There is an API parameter to stop the test at document complete, but this is too soon.

Is it something you can reproduce on the Dulles Linux location? If so I can take a look and see what is going on (and fix it).
Visit this user's website Find all posts by this user
Quote this message in a reply
08-15-2017, 03:24 AM
Post: #3
RE: Chrome on LInux - Slow fullyLoaded time
Here is a repro
http://www.webpagetest.org/result/170814...07a93dd0c/
Find all posts by this user
Quote this message in a reply
08-17-2017, 03:11 AM (This post was last modified: 08-17-2017 03:11 AM by cpk.)
Post: #4
RE: Chrome on LInux - Slow fullyLoaded time
(08-15-2017 03:24 AM)cpk Wrote:  Here is a repro
http://www.webpagetest.org/result/170814...07a93dd0c/

Were you able to look at this? Is there anything else I can provide?
Find all posts by this user
Quote this message in a reply
08-17-2017, 04:50 AM
Post: #5
RE: Chrome on LInux - Slow fullyLoaded time
(08-17-2017 03:11 AM)cpk Wrote:  
(08-15-2017 03:24 AM)cpk Wrote:  Here is a repro
http://www.webpagetest.org/result/170814...07a93dd0c/

Were you able to look at this? Is there anything else I can provide?

I'm out of town until Monday so probably won't get a chance to look until then.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-23-2017, 01:56 AM
Post: #6
RE: Chrome on LInux - Slow fullyLoaded time
Fixed now. The new agent was incorrectly reading the setActivityTimeout command in seconds instead of milliseconds.

One other thing to be aware of is that it doesn't look like Chrome likes navigating to about:blank. If you want to blank out the content for the video it is easier to use:

exec document.body.innerHTML='';

It looks like Chrome is popping the save password dialog in this script as well - looking to see what new hoops I have to jump through to hide it again.
Visit this user's website Find all posts by this user
Quote this message in a reply
08-23-2017, 02:19 AM
Post: #7
RE: Chrome on LInux - Slow fullyLoaded time
Maybe not the best long-term option but until I find an easy way to turn it off globally, if you change the password field type to text when populating the form it won't get prompted to save....

exec document.getElementById('passwordControl').type='text';

(right before doing the setValue for the password).

If the login step of the script isn't logged/recorded then that will work cleanly. If you don't want to expose the password and the login IS recorded, it might be better to just make it hidden (though that changes the UI slightly).
Visit this user's website Find all posts by this user
Quote this message in a reply
08-23-2017, 03:10 AM
Post: #8
RE: Chrome on LInux - Slow fullyLoaded time
Excellent, thank you Pat. I can see the difference in the waterfalls now. I'll work on updating the scripts with you suggestions.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)