[SERVER-71124] perform first time full run of IWYU Created: 07/Nov/22  Updated: 05/Jun/23  Resolved: 25/May/23

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

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

Issue Links:
Gantt Dependency
Related
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Run the build before and after a full IWYU run and gather data regarding:

Change in coupled-ness (average number dependent headers)
Change in full build performance increase

 



 Comments   
Comment by Daniel Moody [ 25/May/23 ]

okay did a full run with the new tool and compared the before and after here are the results:

  1. BEFORE
  2. average header includes:
  3. 368.0743225114033
    #
  4. gcc install-devcore
  5. real 15m11.712s
  6. user 955m40.156s
  7. sys 52m6.183s
  1. AFTER
  2. average header includes:
  3. 359.1706466326804
    #
  4. gcc install-devcore
  5. real 14m38.358s
  6. user 937m58.359s
  7. sys 49m48.008s
  1. TOTALS
  2. average header include improvement: 2.5%
  3. average build time improvement: 3.7%
    Note this is just with --safe_headers in use (headers don't have their headers removed, only added), using --nosafe_headers should yeild more improvements but may require some code work to get headers in better shape for the tool to do its thing.
Generated at Thu Feb 08 06:18:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.