Details
-
Improvement
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
Platforms 2018-08-13
Description
Right now, in order to convert a BSON Object into a JSON string, we recursively call the jsonString() function, which creates a new stringstream for every call. Creating a new stringstream every time is quite expensive. We should only create it once and pass it in as an argument for the successive recursive calls to help improve auditing performance.
Attachments
Issue Links
- is related to
-
SERVER-36576 Coverity analysis defect 104963: Not restoring ostream format
-
- Closed
-