You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During our testing we have found out that setting JSON_SORT_KEYS and JSONIFY_PRETTYPRINT_REGULAR to False (in older version of flasks this is True by default) in flask increases performance quite a bit. especially if your payload is huge.
This is because formatting will create lots of whitespace characters that gets sent through the wire and it takes computational resource. JSON_SORT_KEYS=False will also cause us not to unnecessarily sort keys of the dictionary.
I can work on this in the next ~week or so.
The text was updated successfully, but these errors were encountered:
During our testing we have found out that setting JSON_SORT_KEYS and JSONIFY_PRETTYPRINT_REGULAR to False (in older version of flasks this is True by default) in flask increases performance quite a bit. especially if your payload is huge.
This is because formatting will create lots of whitespace characters that gets sent through the wire and it takes computational resource. JSON_SORT_KEYS=False will also cause us not to unnecessarily sort keys of the dictionary.
I can work on this in the next ~week or so.
The text was updated successfully, but these errors were encountered: