[SERVER-43629] Improve Document/Value performance Created: 25/Sep/19  Updated: 29/Oct/23  Resolved: 26/Sep/19

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Martin Neupauer Assignee: Martin Neupauer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2019-10-07
Participants:
Linked BF Score: 0

 Description   

Optimize creating an empty document.



 Comments   
Comment by Githook User [ 21/Oct/19 ]

Author:

{'username': 'MartinNeupauer', 'email': 'martin.neupauer@mongodb.com', 'name': 'Martin Neupauer'}

Message: SERVER-43629 Improve Document/Value performance

We do not create and destry Document (and DocumentStorage) objects but reuse them.
This saves on the memory allocation/deallocation.
Branch: master
https://github.com/mongodb/mongo/commit/4e1f3f3ef86100c85d686eb8fe5e69e33e7b3d78

Comment by Githook User [ 26/Sep/19 ]

Author:

{'name': 'Martin Neupauer', 'username': 'MartinNeupauer', 'email': 'martin.neupauer@mongodb.com'}

Message: SERVER-43629 Improve Document/Value performance
Branch: master
https://github.com/mongodb/mongo/commit/68a820251e7a7fbd61357d9698a3de5e34007559

Comment by Martin Neupauer [ 25/Sep/19 ]

https://mongodbcr.appspot.com/490870033/

Generated at Thu Feb 08 05:03:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.