Hey Guys, My CPU quota is running out quite quickly and in order to understand what is eating the resources I decided to use appsstats and API calls for my disposal:
1. QuotaService - I'm using the following: long start = mQuotaService.getCpuTimeInMegaCycles(); ... long end = mQuotaService.getCpuTimeInMegaCycles(); double cpuSeconds = mQuotaService.convertMegacyclesToCpuSeconds(end - start); When printing to the log I'm getting 0.52 however when looking at the log numbers at the top I get /job_worker 200 5530ms 51845cpu_ms 51125api_cpu_ms (printed in bold red) couple of questions: a. What is the differences between the numbers? what is cpu_ms and api_cpi_ms ? b. Why the quota api tells me half a second however the log themselves give me higher numbers (5530 ms) ? 2. appstats - appstats give me number of RPC calls How can I use these numbers to measure the performance, for example I know that datastore_v3.Delete is being called allot, does this call takes the most of my cpu time? Thank you, Efi -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
