Home » Community » Coffee corner » MSVC and code size
MSVC and code size [message #39082] |
Wed, 13 February 2013 19:51  |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate 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
|
|
|
|
Goto Forum:
Current Time: Fri May 02 17:22:06 CEST 2025
Total time taken to generate the page: 0.00677 seconds
|