Waleed, It's hard to make suggestions without knowing whether this is a Java or Python app, or where in your code the "start_time" measurement is taken.
In the case of a Python app, if you have import statements before you set start_time, then it is probably those imports that are taking up the excess time. Nick Verne On Tue, Jun 21, 2011 at 6:32 AM, Renan Mobile <[email protected]> wrote: > Interesting... i really know why. Because u use less CPU then google shows. > Will u pay for the 10seconds or for 0.8? > > Em 20/06/2011 15:53, "Waleed Abdulla" <[email protected]> escreveu: >> I've been having a hard time getting GAE to run my taskqueue tasks as fast >> as I want them to run (described it in a previous thread). Part of my >> research, I put a timer in my code to see how long each part of my code >> takes. I noticed that while the task takes 0.8 seconds to run, the actual >> processing time as shown in GAE logs goes up to 10 seconds (see attached >> screen shot). Why such a big difference? And what's happening in that >> time? >> >> Waleed >> >> -- >> 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. >> > > -- > 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. > -- 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.
