[SERVER-55133] Evaluate impact of building with -O3 Created: 10/Mar/21  Updated: 17/May/23  Resolved: 17/May/23

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

Type: Task Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Alex Neben
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-55066 maybe-uninitialized warning in timelib Closed
Assigned Teams:
Server Development Platform
Participants:

 Description   

Long ago we downgraded from -O3 to -O2, because we did not observe a performance degradation while doing so, but did observe a compile time improvement. We should re-evaluate this decision given that we are using much newer tools. Such an evaluation must include measurement of the compile time impact.



 Comments   
Comment by Alex Neben [ 17/May/23 ]

https://spruce.mongodb.com/version/640f98c50305b9bea040aac7/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

https://spruce.mongodb.com/version/640faa3d1e2d17d19b7f8250/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

Looked like there was no measurable perf increase

Comment by Githook User [ 23/Mar/21 ]

Author:

{'name': 'Andrew Morrow', 'email': 'acm@mongodb.com', 'username': 'acmorrow'}

Message: SERVER-55133 Add an experiment for building with -O3
Branch: master
https://github.com/mongodb/mongo/commit/73fa2dc4169b55347758584144d2b0eb5bccc15f

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