[SERVER-33621] Warn if benchmark is not compiled with --opt=on Created: 02/Mar/18  Updated: 29/Oct/23  Resolved: 29/Mar/18

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.7.2
Fix Version/s: 3.7.4

Type: Improvement Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Robert Guo (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: TIG 2018-03-26, TIG 2018-04-09
Participants:
Linked BF Score: 0

 Description   

This helps to ensure benchmarks are configured to be close to what customers run.

#ifndef MONGO_CONFIG_OPTIMIZED_BUILD
// print a warning



 Comments   
Comment by Githook User [ 26/Apr/18 ]

Author:

{'email': 'robert.guo@10gen.com', 'username': 'guoyr', 'name': 'Robert Guo'}

Message: SERVER-33621 Warn if benchmark is not compiled with --opt=on

(cherry picked from commit 29bd1eb185a983703bc6d02e7e4c5c3ebd96e6cb)
Branch: v3.6
https://github.com/mongodb/mongo/commit/30ca26fc2b47b67e9d355dc5f0b431935812b703

Comment by Githook User [ 29/Mar/18 ]

Author:

{'email': 'robert.guo@10gen.com', 'name': 'Robert Guo', 'username': 'guoyr'}

Message: SERVER-33621 fix lint
Branch: master
https://github.com/mongodb/mongo/commit/45c86eb7be9a2ce2ffd112f22f7cdc131d35b0aa

Comment by Githook User [ 29/Mar/18 ]

Author:

{'email': 'robert.guo@10gen.com', 'name': 'Robert Guo', 'username': 'guoyr'}

Message: SERVER-33621 Warn if benchmark is not compiled with --opt=on
Branch: master
https://github.com/mongodb/mongo/commit/29bd1eb185a983703bc6d02e7e4c5c3ebd96e6cb

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