Alexander Trakhimenok
Alexander Trakhimenok

Reputation: 6278

GAE - NDB: Performance of JsonProperty vs StructuredProperty?

Has anyone compared serialisation/deserialisation performance of JsonProperty versus StructuredProperty for "repeated" objects (lists)?

What should I choose if primary goal is to minimise deserialisation time and 2nd is to minimise storage space?

Upvotes: 2

Views: 257

Answers (1)

Brent Washburne
Brent Washburne

Reputation: 13148

I have found StructuredProperty to be very slow. It seems to do a lot of checking with every read and write. I have since moved to JsonProperty and it is much faster. I think it takes less storage space, too.

Upvotes: 4

Related Questions