08-03-2016, 04:05 AM
At first I thought it was maybe due to the way I was loading images, but after further testing on WPT and on real devices locally, I'm pretty sure there is something unexpected happening on the WPT iOS device.
I created two test pages to test my theory, one with an empty body and one with just the text "TEST" in the body. I ran both through WPT on the real iPhone. Here are the results:
Blank:
http://staging.lovetoknow.com/wpt-ios-blank.html
http://www.webpagetest.org/result/160802_W7_14JD/
TEST:
http://staging.lovetoknow.com/wpt-ios-test.html
http://www.webpagetest.org/result/160802_A7_14K4/
It consistently takes ~2.5s between the time after the html file has downloaded completely and the text "TEST" is displayed in the filmstrip view.
It does the same thing on a more complex page between the time when it has enough content to start rendering and when it actually starts rendering, but I wanted to show with these tests that it wasnt anything else causing the delay.
Any idea why this is happening and how to get reliable iPhone tests?
I created two test pages to test my theory, one with an empty body and one with just the text "TEST" in the body. I ran both through WPT on the real iPhone. Here are the results:
Blank:
http://staging.lovetoknow.com/wpt-ios-blank.html
http://www.webpagetest.org/result/160802_W7_14JD/
TEST:
http://staging.lovetoknow.com/wpt-ios-test.html
http://www.webpagetest.org/result/160802_A7_14K4/
It consistently takes ~2.5s between the time after the html file has downloaded completely and the text "TEST" is displayed in the filmstrip view.
It does the same thing on a more complex page between the time when it has enough content to start rendering and when it actually starts rendering, but I wanted to show with these tests that it wasnt anything else causing the delay.
Any idea why this is happening and how to get reliable iPhone tests?