msvc v7.1 to v9 performance issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ameyav
    New Member
    • Mar 2009
    • 8

    msvc v7.1 to v9 performance issues

    I have migrated a c++ project from msvc 7.1 using boost 1.32 to msvc 9 using boost 1.38.

    I have however noticed that the binary compiled under msvc 9 is almost 25% slower than the one compiled under msvc 7.1

    The migration wizard in Visual Studio .NET 2008 did the needful, so i have not manually changed any project settings.

    Any suggestions or tweaks will be really helpful.

    Thanks in advance!
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Is this slowdown for a debug or release build?

    Windows program? Set for lean and mean?

    If it's debug, the current debugger is much niftier than the older one. That could translate into a slowdown.

    Comment

    • ameyav
      New Member
      • Mar 2009
      • 8

      #3
      This is for release build.

      The "/O2" compiler option was turned on in both the compiler versions[in bold], but the performance difference still persists.

      Comment

      • weaknessforcats
        Recognized Expert Expert
        • Mar 2007
        • 9214

        #4
        Have you tried using Boost 1.32 with VC9? Maybe the problem is in the Boost library.

        Comment

        Working...