Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33581

Add scons switch to build with /Zi instead of /Z7 on msvc

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      Using ninja, /DEBUG:FASTLINK and pch branch from Mark:

      /Z7 full link

      Pass 1: Interval #1, time = 7.406s
        Wait PDB close: Total time = 1.375s
      Pass 2: Interval #2, time = 27.891s
      Final: Total time = 35.297s
      Final: Total time = 43.907s
      [2676/2676] INSTALL mongod.exe
      

      /Z7 incremental (change to db.cpp)

      Pass 1: Interval #1, time = 7.141s
        Wait PDB close: Total time = 1.203s
      Pass 2: Interval #2, time = 25.125s
      Final: Total time = 32.266s
      Final: Total time = 32.937s
      [5/5] INSTALL mongod.exe
      

      /Zi full link

      Pass 1: Interval #1, time = 7.313s
        Wait PDB close: Total time = 2.672s
      Pass 2: Interval #2, time = 14.078s
      Final: Total time = 21.391s
      Final: Total time = 30.032s
      [2676/2676] INSTALL mongod.exe
      

      /Zi incremental (change to db.cpp)

      Pass 1: Interval #1, time = 7.187s
        Wait PDB close: Total time = 2.656s
      Pass 2: Interval #2, time = 13.750s
      Final: Total time = 20.937s
      Final: Total time = 21.719s
      [5/5] INSTALL mongod.exe
      

            Assignee:
            henrik.edin@mongodb.com Henrik Edin
            Reporter:
            henrik.edin@mongodb.com Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: