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]
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($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
$output = curl_exec($ch);

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

[/php]

I’m doing tests with a probe so configured:

[list]
[]Windows 10
[
]Internet Explore 11
[]Chrome 49
[
]Firefox 45
[/list]

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”[/code]

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[/code]

The following is an example of data collected by the probe test … Pisa1_T with three different browsers:

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:



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

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?

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