[SERVER-25911] Tune performance of $match stage Created: 31/Aug/16  Updated: 19/Nov/16  Resolved: 11/Nov/16

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

Type: Task 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:
Depends
Related
is related to SERVER-22631 Improve efficiency of matching during... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2016-11-21
Participants:

 Description   

Performance analysis turned up some unnecessary string allocation that we should get rid of.

We should look to see if there's a way to get rid of this call to BSONObjBuilder::hasField().



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

Author:

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

Message: SERVER-25911 Avoid extra string allocations during $match
Branch: master
https://github.com/mongodb/mongo/commit/c48aafbff45ec234677c195b1e9c5f1fb02672e9

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