As the title says, I'm experiencing very poor performance of the printf call in our code. It's used pretty extensivly for debugging purposes and hasn't caused an issue for the most part, but when I brought our code up on my new laptop (17" Macbook Pro 2011) under Windows 7 Professional 64 bit it slows down everything. I profiled the app with VerySleepy and sure enough it is the printf call that is causing the slow down, but I cannot for the life of me figure out why.
My original thought was that I was running a 32 bit app under a 64 bit os, but I'm not the only one in the office running Windows 7 64 bit (not sure the exact version of the others)
Any insight would be greatly appreciated.
EDIT:开发者_如何学运维 forgot to mention I'm using Visual Studio 2008 Professional
Make sure you got the latest and greatest graphics processor drivers on your box. If your printf
s go to screen then bad drivers will kill performance.
精彩评论