I have a multithreaded C# application, where the core logic sits in a Timer.Elapsed event handler. The event handler contains 2 for loops which executes a maximum of n * n = 5 * 5 = 25 times.
The application performs well on my PC. I ran VS 2010 Profiler against the application and CPU usage averages at 20%.
The company tester says that on his PC this jumps to between 50% and 100% on his PC. This is causing a performance issues for him.
X amount of
the CPU?Any help would be appreciated.
I'm guessing you really mean the third bullet, but we can't answer that without knowing what the code is doing; but (random suggestions without any context):
Invoke (or the UI's equivalent)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With