In database we are used to read the Wait Time Analysis but Microsoft Windows offer a similar tool (Windows Performance Recorder / Xperf) to understand what is the bottleneck of our system.
WPR is a complex but very interesting tool and monitoring a build I found out a couple of stuffs which I wouldn't have expected:
- devenv.exe takes the greatest part of the CPU time (why? I would have expected msbuild.exe)
- vbcscompiler.exe takes a lot of CPU time too (same comment as before)
- most of CPU time used from devenv.exe seems to be in context switches (?!?!?!?!) related to message queues handling
I have Visual Studio 2019 v16.9.2 with Resharper 2021.1.1 Can someone help me to interpret such a similar behaviour?