Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79068

Investigate performance impact of BSONObj::redact

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Query Optimization

    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.

      Attachments

        Activity

          People

            naama.bareket@mongodb.com Naama Bareket
            william.qian@mongodb.com William Qian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: