[SERVER-79068] Investigate performance impact of BSONObj::redact Created: 18/Jul/23  Updated: 11/Aug/23  Resolved: 11/Aug/23

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

Type: Improvement Priority: Minor - P4
Reporter: William Qian Assignee: Naama Bareket
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-85067 Tracking: M1 Performance data gathering Closed
Assigned Teams:
Query Optimization
Participants:

 Description   

BSONObj::redact contains many branches and an unusual idiom of creating a function-scope struct instead of using a lambda. If this ends up on the hot path, its performance can be possibly optimized by using templates and cheaper function constructs.


Generated at Thu Feb 08 06:40:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.