I've been using appstats to examine some calls. I have a simple view that makes a memcache call and returns the result. Appstats tells me that the total time (Grand Total) is around 15ms. However, what I observe in the browser is more like 242ms or so. And actually, I also get the same result using apache bench. I tried another network (using an ec2 instance) to see if I would see different round trip time and also got about the same result. A ping to the server takes about 13 or 14ms.
I am definitely missing something here. There is around 180-200ms of latency that I can't account for. Based on experience w/ app engine and appstats, I'm hoping someone can help me open my eyes to what I am missing.
Some environment details if interested ... python 2.7; used both webapp2 and Flask in tests; my apache bench tests have all been single threaded hitting 100 times.
Thanks for any insight.