[SERVER-25950] Improve performance of simple dependency extraction in ParsedDeps::extractFields() Created: 02/Sep/16  Updated: 19/Nov/16  Resolved: 13/Sep/16

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Performance
Affects Version/s: None
Fix Version/s: 3.3.14

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Query 2016-09-19
Participants:

 Description   

This is the piece of code that converts from a BSONObj to a Document, extracting only the fields required by the pipeline. It is very hot code, and if we could improve the efficiency for simple cases like a couple non-dotted fields, many pipelines would benefit.



 Comments   
Comment by Githook User [ 10/Nov/16 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: PERF-714 Add a regression test for SERVER-25950.

Adds a test for a pipeline requiring only one field out of many.
Branch: master
https://github.com/mongodb/mongo-perf/commit/6335df06344066b8942c2bdfcfee837abfe0da3d

Comment by Githook User [ 13/Sep/16 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-25950 Improve efficiency of Dependencies::extractFields()
Branch: master
https://github.com/mongodb/mongo/commit/e41a6af318925f48e5626dd36a17531183e5aac2

Comment by Githook User [ 13/Sep/16 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: PERF-714 Add a regression test for SERVER-25950.

Adds a test for a pipeline requiring only one field out of many.
Branch: develop
https://github.com/mongodb/mongo-perf/commit/6335df06344066b8942c2bdfcfee837abfe0da3d

Generated at Thu Feb 08 04:10:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.