Current time: 10-17-2019, 08:44 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
load time differences between browsers
04-04-2016, 11:37 PM
Post: #1
load time differences between browsers
Hello,
I'm working on a private instance of WebPagetest to which I associated with an execution system, and reading results....

one crontab module commands the execution of the tests with almost constant frequency, then the data collected can be displayed on the time graph.

the system is based on version 2.19.

this is the portion of code that launches the tests:
PHP Code:
function launch_test() {
    
  
//location sintax is: name:browser.LAN

  
$url_completa $this->url_server."runtest.php?f=xml&location=".$this->location."&fvonly=1&mv=1&ignoreSSL=1&video=1&script=".$this->script;
  
$ch curl_init($url_completa);
  
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
  
curl_setopt($chCURLOPT_BINARYTRANSFERtrue);
  
$output curl_exec($ch);

  
$datatest simplexml_load_string($output);
  
$testID=$datatest->xpath("/response/data/testId")[0];
.... 

I'm doing tests with a probe so configured:
  • Windows 10
  • Internet Explore 11
  • Chrome 49
  • Firefox 45

wptdriver.ini
Code:
[WebPagetest]
url=http://10.172.71.116/
location=Pisa1_T
browser=IE11, Chrome, Firefox
Time Limit=120
;key=TestKey123
;Automatically install and update support software (Flash, Silverlight, etc)
software=http://www.webpagetest.org/installers/software.dat

[Chrome]
exe="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
options='--load-extension="%WPTDIR%\extension" --user-data-dir="%PROFILE%" --no-proxy-server'
;installer=http://www.webpagetest.org/installers/browsers/chrome.dat

[Firefox]
exe="C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
options='-profile "%PROFILE%" -no-remote'
;installer=http://www.webpagetest.org/installers/browsers/firefox.dat
template=firefox

;[Safari]
;exe="C:\Program Files\Safari\Safari.exe"

[IE11]
exe="C:\Program Files\Internet Explorer\iexplore.exe"

locations.ini
Code:
[locations]
1=....
2=....
3=Pisa_Test
default=Pisa_Test

......

[Pisa_Test]
1=Pisa1_T
label="Pisa conf W10"
default=Pisa1_T

......

[Pisa1_T]
browser=IE11, Chrome, Firefox
latency=0
label="10.21.58.XXX"
;browserExe=pagetest.exe
;key=TestKey123
user-data: wpt_server=10.21.58.133
connectivity=LAN

The following is an example of data collected by the probe test .... Pisa1_T with three different browsers:
[Image: wpt1.jpg]

of course you can click on the points on the graph to see the details .... the following two cases, one with IE11 and the other with Firefox:
[Image: IE11.jpg]

[Image: firefox1.jpg]
...
[Image: firefox2.jpg]

I can not understand why IE11 run correctly onload event while chrome and firefox very often miss the event and show activity time instead of load time.

many thanks in advance for the help
Find all posts by this user
Quote this message in a reply
04-05-2016, 01:45 AM
Post: #2
RE: load time differences between browsers
OK, some things to look at…

If you do multiple runs for each test (say 3 minimum) do the outliers get smoothed out?

How often are those jpg's taking so long to load?

If you compare a fast test and a slow test in the same browser what's making the difference in speed?

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
04-05-2016, 05:59 PM
Post: #3
RE: load time differences between browsers
I did not understand what you mean by multiple runs ... each test is performed every 5 minutes as you can see from the chart, each time with a single run (&fvonly=1).

the images in the final part of the waterfall composing a slider and are downloaded through the use of timers javascript.

the fast test and a slow test in the same browser do not differ from the side user experiences ... but the agent does not detect the onload event (in slow test case) and return the activity time instead (load time field in csv).

all tests are run on the same computer and the same agent
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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