[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: |
|
||||
| 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 Adds a test for a pipeline requiring only one field out of many. |
| 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: |
| 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 Adds a test for a pipeline requiring only one field out of many. |