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

libdeps analyzer: find in-degree 1 candidates for folding into dependers

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • None
    • Fully Compatible
    • Dev Platform 2021-05-03, Dev Platform 2021-05-17

    Description

      Libraries with only 1 depender are good candidates to just be merged with that depender, which helps to optimize the build and reduce the size of the graph.

      Create an analyzer that will search the graph for such libraries and report a list of them.

      Open Question:
      Should there be a tag for libraries which we want to keep as in-degree 1 because it doesn't make sense to merge them or we anticipate them gaining more in-degree edges in the future? This tag could be used to filter or identify them in such a report generated from the proposed analyzer.

      Attachments

        Activity

          People

            daniel.moody@mongodb.com Daniel Moody
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: