Warn if benchmark is not compiled with --opt=on

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.4
    • Affects Version/s: 3.7.2
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2018-03-26, TIG 2018-04-09
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

      #ifndef MONGO_CONFIG_OPTIMIZED_BUILD
      // print a warning
      

            Assignee:
            Robert Guo (Inactive)
            Reporter:
            Robert Guo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: