[GODRIVER-2779] Reduce memory allocations in bson slice codec Created: 17/Mar/23  Updated: 02/May/23  Resolved: 01/May/23

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.12.0

Type: Task Priority: Unknown
Reporter: Qingyang Hu Assignee: Qingyang Hu
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket is to trace the external PR https://github.com/mongodb/mongo-go-driver/pull/1199, which reduces memory allocations in bson slice codec.



 Comments   
Comment by Githook User [ 01/May/23 ]

Author:

{'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}

Message: GODRIVER-2779 Reduce memory allocations in BSON slice codec. (#1242)

Co-authored-by: pvragov <pvragov@ptsecurity.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/56f02f0024896c102b621499f686e5d380c1ade2

Comment by Githook User [ 01/May/23 ]

Author:

{'name': 'Qingyang Hu', 'email': '103950869+qingyang-hu@users.noreply.github.com', 'username': 'qingyang-hu'}

Message: GODRIVER-2779 Update tests and benchmarks. (#1214)

  • Add slice codec benchmarks
  • Add slice codec tests

---------

Co-authored-by: pvragov <pvragov@ptsecurity.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/4d8c927dc0a0cf3f0a0a0b1fdfaa6673c39ef6ed

Comment by Githook User [ 01/May/23 ]

Author:

{'name': 'Fanat1k', 'email': 'nso.fanat1k@gmail.com', 'username': 'nsofanat1k'}

Message: GODRIVER-2779 Reduce memory allocations in BSON slice codec. (#1199)

  • Reduce memory allocations in BSON slice codec.

---------

Co-authored-by: pvragov <pvragov@ptsecurity.com>
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/07be75ccc56f4803cb1d10d6ab0e5af8005bc1fe

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