[SERVER-40802] misc compile time improvements Created: 24/Apr/19  Updated: 29/Oct/23  Resolved: 01/May/19

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

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2019-04-22, Service Arch 2019-05-06
Participants:

 Description   

This is an umbrella ticket for a handful of low-effort high-impact improvements to our build times. It is primarily avoiding inclusion of a few expensive headers where they aren't needed, and moving a few functions out of line that are frequently emitted out of line by the compiler in many TUs anyway.



 Comments   
Comment by Githook User [ 01/May/19 ]

Author:

{'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}

Message: SERVER-40802 stop using boost::container::flat_set
Branch: master
https://github.com/mongodb/mongo/commit/70151a9864df3832727c49f8c904e4d4a61199a6

Comment by Githook User [ 01/May/19 ]

Author:

{'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}

Message: SERVER-40802 move some expensive and commonly instantiated functions out of line
Branch: master
https://github.com/mongodb/mongo/commit/f6d863188b71b420f13b8249579d34de76d80d9c

Comment by Githook User [ 01/May/19 ]

Author:

{'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}

Message: SERVER-40802 get expensive boost/date_time headers out of time_support.h
Branch: master
https://github.com/mongodb/mongo/commit/3ca7cf08c389d877f4e427012533fa0785d96d10

Comment by Githook User [ 01/May/19 ]

Author:

{'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}

Message: SERVER-40802 Don't include boost/algorithm/string.hpp in mongo_uri.h
Branch: master
https://github.com/mongodb/mongo/commit/612492b81930005104f3f565f21e9c62b08bb246

Comment by Githook User [ 01/May/19 ]

Author:

{'email': 'mathias@10gen.com', 'name': 'Mathias Stearn', 'username': 'RedBeard0531'}

Message: SERVER-40802 simplify Future overload resolution
Branch: master
https://github.com/mongodb/mongo/commit/d2c92c689c9a2b4957c84caf32f4bc8e6c4a6709

Generated at Thu Feb 08 04:56:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.