[SERVER-56141] libdeps analyzer: find in-degree 1 candidates for folding into dependers Created: 16/Apr/21  Updated: 29/Oct/23  Resolved: 05/May/21

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

Type: New Feature Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Dev Platform 2021-05-03, Dev Platform 2021-05-17
Participants:

 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.



 Comments   
Comment by Githook User [ 05/May/21 ]

Author:

{'name': 'Daniel Moody', 'email': 'daniel.moody@mongodb.com', 'username': 'dmoody256'}

Message: SERVER-56141 added in degree one libdeps analyzer and removed existence of shims from analyzer.
Branch: master
https://github.com/mongodb/mongo/commit/76eab0dfcc8f0d6ed77e64d9a656e8819db99cdd

Comment by Daniel Moody [ 30/Apr/21 ]

Code Review: https://mongodbcr.appspot.com/780530014/

Generated at Thu Feb 08 05:38:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.