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

Move DocumentSource::getNext() implementation to the header

    • Fully Compatible
    • Query 2019-12-16
    • 0

      While investigating a small performance regression we found as fallout from SERVER-42584, we noticed that doing this may have a minor but measurable performance improvement. As an experiment I ran a patch build and got [these numbers|performance_081a51065ac9b855a0d9e07d88701910b547ad96].

        1. Screen Shot 2019-12-04 at 1.36.05 PM.png
          Screen Shot 2019-12-04 at 1.36.05 PM.png
          135 kB
        2. Screen Shot 2019-12-04 at 1.37.16 PM.png
          Screen Shot 2019-12-04 at 1.37.16 PM.png
          126 kB
        3. Screen Shot 2019-12-05 at 3.34.06 PM.png
          Screen Shot 2019-12-05 at 3.34.06 PM.png
          169 kB
        4. Screen Shot 2019-12-05 at 3.35.29 PM.png
          Screen Shot 2019-12-05 at 3.35.29 PM.png
          170 kB
        5. Screen Shot 2019-12-05 at 3.37.51 PM.png
          Screen Shot 2019-12-05 at 3.37.51 PM.png
          172 kB

            Assignee:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: