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

Improve performance of Decorations

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2022-09-19, Service Arch 2022-10-03

      (generated by SA onsite)
      There may be places in the Decoration system that are inefficient in a significant way, particularly the Decorations on OperationContext which are created and destroyed very quickly.

      One idea was to elide the invocation of trivial destructor callbacks entirely. Instead of invoking a no-op function pointer, allow it to be nullptr and don't invoke anything.

            Assignee:
            billy.donahue@mongodb.com Billy Donahue
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: