Thats a great resource thanks Barry. There might be some initial slowness
because it's a fairly large single page app so a bunch of scripts need to
load before it starts building ui.
Anyhow, to further the investigation I've written a script that downloads a
static image from my site over and over every 10s.
window.setInterval(function() {
var timeStart = Date.now();
var img = new Image();
img.onload = function() {
var timeEnd = Date.now();
console.log("Duration", (timeEnd-timeStart)/1000);
var output = document.getElementById("output");
output.innerHTML += "Duration " + (timeEnd-timeStart)/1000 + "<br>";
};
// note: adding a variable to the url forces the cache not to be used.
img.src = "https://blight.ironhelmet.com/images/blight_menu_bg.jpg?" +
timeStart ;
}, 10*1000);
You can run it here:
https://blight.ironhelmet.com/help/test
I have asked some of my users to run it as well to see if they see similar
number to me.
What I found was the 380k image can take between 2 and 10 seconds to
download.
It seems to be a lot more random that I would expect!
If I look at my logs on the app engine console it reports that every
request was served in under 1ms so I don't there there is a problem there.
Here is the raw times for each download
Duration 3.744
Duration 5.161
Duration 5.436
Duration 7.482
Duration 9.698
Duration 7.768
Duration 7.702
Duration 9.913
Duration 10.746
Duration 10.119
Duration 5.755
Duration 4.574
Duration 3.134
Duration 2.926
Duration 2.717
Duration 4.633
Duration 6.743
Duration 5.758
Duration 4.313
Duration 5.568
Duration 6.018
Duration 1.981
Duration 3.031
Duration 5.413
Duration 3.09
Duration 2.779
Duration 6.429
Duration 5.047
Duration 5.931
Duration 4.737
Duration 4.589
Duration 2.926
Duration 2.063
Duration 4.08
Duration 4.428
Duration 4.138
Duration 3.162
Duration 1.724
Duration 1.794
Duration 2.518
Duration 3.166
Duration 4.374
Duration 5.447
Duration 8.417
Duration 8.957
Duration 5.172
Duration 5.029
Duration 4.768
Duration 2.66
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/dfb6109e-f1e5-4679-9f6e-f3d6c6dc3b6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.