What is the best way to profile/optimize google app engine application?

google-app-engine, google-cloud-datastore, java

Solution

Appstats: RPC Instrumentation for Google App Engine. It is being developed by Guido himself.

alt text http://img130.imageshack.us/img130/526/timelinea.png

EDIT: I believe AppStats will not work with Java, but there are some tips here.

Problem

Currently I am working on new App Engine application. Unfortunately it seems that my application uses to lot of resources even for relatively small user number. So I need to determine its bottle necks and optimize them.

Original source