Hi, Glen,

I can only run  /MD under configuration setting on Release. However, the program is slower than /MDd when keeping the other setting the same. 

Is that the only way to turn off debug completely? I though /Od is to turn off the debug mode. Is that correct?

Hi, Paul,

This is the legency code developed in old version of boost and VC. We can access the original built executable(.exe) and source code of C++/CLI, but not old version of boost libriary.

I also thought the new version is better than the old one. The libraries used in the code is shared_ptr.

The program consists of three projects and one setup project. Those three projects have some kind of dependecy. It is expected to generate soluation in exe format and able to run independently on other platform. So it mostly developed by C++/CLI. 


So the only thing we changed here is new version of boost and VC2013. The original one was built on VC2010.

Hope this information can helps.

Connie

  



Sent from Yahoo Mail. Get the app



On Monday, July 3, 2017, 9:19:37 AM EDT, Paul A. Bristow via Boost-users <boost-users@lists.boost.org> wrote:


 

 

From: Boost-users [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Connie Zhang via Boost-users
Sent: 02 July 2017 20:34
To: boost-users@lists.boost.org
Cc: Connie Zhang
Subject: [Boost-users] performance tuning on boost version 1_64_0

 

Hello,

 

I recently upgrade boost version of a visual C++ program from an old version of 1_58_0 to 1_64_0.  Compared to the original executable, the newly upgraded one runs very slow (more than 6 times longer) even I disable the debug mode and set the optimization to /ox in visual environment.

 

The other difference between the old and the upgrade ones is the visual studio version. The old one is on 2010 and the new one 2013.

 

Anyone has any idea for why it behaves like this? Which kind of performance tuning I need to look into?

 

 

Thank you so much for your help!

 

Well, it isn’t much help, but you will need to provide many more clues before anyone can help.

 

It isn’t Boost wide or someone else would have noticed.

 

In general, new compilers are producing better code,  so there is no reason to suspect VS compilers generally.

 

(You don’t seem to be using the most recent VS version and update?  Is there a reason?) 

 

Which Boost libraries are being used?

 

Is it using only headers, or does it use pre-built (or built by you) libraries?

 

Are you completely sure that it isn’t a debug build?  (Even if you think that you told it to optimize?)

 

HTH

 

Paul

 

 

---

Paul A. Bristow

Prizet Farmhouse

Kendal UK LA8 8AB

+44 (0) 1539 561830

 

 

 

 

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users