Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » MSVC and code size
MSVC and code size [message #39082] Wed, 13 February 2013 19:51 Go to next message
Novo is currently offline  Novo
Messages: 1267
Registered: December 2006
Senior Contributor
Below are numbers related to the code size of TheIDE compiled with different versions of MSVC and in different configurations.
Both msvc10 and msvc11 generate significantly bigger code. msvc11 is worse than msvc10.

Does somebody have any idea why? And what can be done to fix that?

Rev.	5650		
App:	ide		
			
All static			
Compiler\Config	Size	Speed	Optimal
msvc9	5235200	6100480	5338624
msvc10	5638144	6915584	5775872
msvc11	5817344	6952448	5967872
			
			
Use shared libs			
Compiler\Config	Size	Speed	Optimal
msvc9	5066752	5938688	5171200
msvc10	5472768	6756352	5609984
msvc11	5623296	6743552	5752320
			
			
static vs. shared			
	3.32%	2.72%	3.24%
	3.02%	2.36%	2.96%
	3.45%	3.10%	3.75%
			
All static			
Relative to msvc9			
msvc10	7.70%	13.36%	8.19%
msvc11	11.12%	13.97%	11.79%
			
Use shared libs			
Relative to msvc9			
msvc10	8.01%	13.77%	8.49%
msvc11	10.98%	13.55%	11.24%


Regards,
Novo
Re: MSVC and code size [message #39093 is a reply to message #39082] Thu, 14 February 2013 20:07 Go to previous message
mirek is currently offline  mirek
Messages: 13442
Registered: November 2005
Ultimate Member
Not sure, but perhaps library size is increasing?
Previous Topic: OpenCV
Next Topic: Strange program crash
Goto Forum:
  


Current Time: Tue Oct 19 21:13:24 CEST 2021

Total time taken to generate the page: 0.00963 seconds