long story short, I had a URL that was running 900/1500ms (app/api) CPU, so I had to dig into it. I was surprised by just how much CPU time some simple things are taking (or how much I think they're taking ;-). For example, with this class:
class AssocObject(db.Model): urlPath = db.TextProperty() fileName = db.TextProperty() contentType = db.TextProperty() blob = db.BlobProperty() # Unused in query history -- copied from input. - kind: AssocObject ancestor: yes and the following snippet: fileObj = AssocObject(parent = node) db.put(fileObj) Just the single db.put() costs 250/210ms of CPU. Getting rid of the 'parent =' saves on 10s of ms. The total data set size is in the 10s of objects. I am not setting any of the variables in the class instance; the code really is create obj and store it at this point. Am I missing something? Is this level of CPU burn to be expected? Thanks, Jeff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---