Code changes req. to improve 64 bit application performance
-
Hi , I am converting my 32 bit windows application in VC++ into 64 bit windows application. I convert it with configuration setting req. for 64 bit platform. But when i check performance of 64 bit application, it is same as 32 bit. I did not found any improvement is speed execution of application. What changes i need to do in C++ VC++ code to speed up the execution of my application on windows 64 bit OS. Regards abm
-
Hi , I am converting my 32 bit windows application in VC++ into 64 bit windows application. I convert it with configuration setting req. for 64 bit platform. But when i check performance of 64 bit application, it is same as 32 bit. I did not found any improvement is speed execution of application. What changes i need to do in C++ VC++ code to speed up the execution of my application on windows 64 bit OS. Regards abm
There is no performance improvement by converting to 64 bit, unless your application performs lots of 64 bit calculations. The main reason for converting to 64 bit is to get access lots of RAM, so one is not restricted by the usual 1-2 GByte RAM. The minor reason is that in 10-15 years the 32 bit platform will no longer be supported (Like 16 bit was abandoned with Win7) See also Find out if you need the 64-bit version of your product[^]
-
Hi , I am converting my 32 bit windows application in VC++ into 64 bit windows application. I convert it with configuration setting req. for 64 bit platform. But when i check performance of 64 bit application, it is same as 32 bit. I did not found any improvement is speed execution of application. What changes i need to do in C++ VC++ code to speed up the execution of my application on windows 64 bit OS. Regards abm
Just to add a little to the previous post: There is a minor performance improvement for all programs in terms of function calls. The calling conventions have been optimised for speed, by passing the first few arguments via the CPU registries. However, this increase is only seen if your application uses a lot of function calls. Mostly, the compiler tries to avoid them in the first place, such as using inlining. Also, if you make lots of API calls then you should see a small increase, as the WoW64 subsystem is taken out between the application and the Windows kernel (which does the conversion to the new calling convention for the 32 bits applications). But, mostly, 64 bits is for the increase in address space, the most noticeable example being that you can use more than 4 GiB of RAM in your system.