Does anyone know whymy application uses so much cpu time when I put an image as the background? The image is only 76k in size. Any idea on how I could reduce the cpu time used?
When you say CPU time do you mean usage? (as in the graph in task manager)
When is this 'CPU time' happening? i.e. on load up, all the time, when you do something....
Also are you sure the image is causeing the problem?
By CPU time I mean usage in task manager. It happens on form_load and whenever i move the form around the screen. I'm sure the image is the the problem because when i remove the image it works normally
I think you'll find that you'll always get a spike at the start of you app. since JIT is compiling your code and everything is loading. The reason for the usage when moving around the screen is all the repaints. Unless it's effecting the operation of your app. I wouldn't worry about it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.