You are doing multiple db.get calls while you do a single Query.fetch.

On Fri, Aug 7, 2009 at 2:00 AM, Oliver Zheng <[email protected]> wrote:

>
> http://benchmaker.appspot.com/benchmark/bench/
>
> See get 20 vs query 20. I must be doing something wrong here. The data
> in the datastore is about 1000 objects created with its ID
> autogenerated. There are no other objects, so these objects have
> sequentially incremental IDs.
>
> What is wrong with my code? Cause I've been led to believe query
> cannot be faster than get.
> >
>


-- 

Alkis

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to