-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
api: datastoreIssues related to the googleapis/python-ndb API.Issues related to the googleapis/python-ndb API.
Description
While profiling our NDB app, I noticed protobuf __repr__ calls appearing higher than expected in our total profile. According to the profile, These are called from within put() in _datastore_api.py.
As far as I can tell, the culprit seems to be this line, which serializes a text representation of the entire RPC put command into the info field. Could it be that this creates unnecessary overhead for large entities?

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the googleapis/python-ndb API.Issues related to the googleapis/python-ndb API.