Hello, everybody!
I have simple GWT application which is running against GAE.
The problem is - simple query takes too long. I put log result below. As you can see it takes almost 4 seconds (this is not first request which causes a new process started). I added logging into my data access class (RawData).
It shows that all data reading takes only 29 ms. So, my question is - who consumes rest of cpu? How can I profile my application to get clear picture?
Thank you,
Andrey
2012-08-12 20:48:16.781 /gwtRequest 200 3918ms 87kb Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19
98.210.16.181 - - [12/Aug/2012:20:48:16 -0700] "POST /gwtRequest HTTP/1.1" 200 87656 "
http://hikeinthecloud.appspot.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19" "
myapp.appspot.com" ms=3918 cpu_ms=3028 api_cpu_ms=39 cpm_usd=0.093998 instance=00c61b117cd5d51838dc0c430d3d0123c842a9
I 2012-08-12 20:48:12.905
domain.RawData getData: getData 1344719667, 1344725313
I 2012-08-12 20:48:12.907
domain.RawData getData: Start getting data...
I 2012-08-12 20:48:12.908
domain.RawData getData: Finish getting data. 1ms
I 2012-08-12 20:48:12.936
domain.RawData getData: Return data. 2 backets, 29ms