Robert: I posted the following comment to
http://code.google.com/p/googleappengine/issues/detail?id=5134, but it may
be more useful here...
I didn't notice this until after 1.6.0 came out. It seems as if the
following two lines of code is a lot slower than before.
The first runs fast (1/10th of a second): a query that looks for child
Books of the_user entity.
The second runs much slower (4 seconds): a query that looks for Books in
which the_user is in the Book's ReferenceProperty
DEBUG 2011-11-17 05:44:02,299 main.py:483] 1
some_books = Book.all().ancestor(the_user).filter('good =', True).fetch(30)
DEBUG 2011-11-17 05:44:02,336 main.py:485] 2
other_book = the_user.books.filter('good =', False).get()
DEBUG 2011-11-17 05:44:06,661 main.py:487] 3
....plus it seems like writing to the datastore takes a lot longer than
before.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/1RxDMDUOyK8J.
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.