You should be able to use the profiling tools in Visual Studio to monitor performance.
https://learn.microsoft.com/en-us/visualstudio/profiling/?view=vs-2019
Another option is to use Sysinternals Process Monitor and trace your program to see if if is making redundant file I/O or registry calls.
https://learn.microsoft.com/en-us/visualstudio/profiling/?view=vs-2019
How many cores does your server have? A single threaded app can only use 100% of one cpu. So if you have 2 cpu's your program will use 50%. 4 cores will show 25%, etc.
In the Details tab in Task Manager, add a column for Page Faults Delta. See if it's doing something with memory (file cache).