❔ Performance profiler and diagnostic tool in visual studio don't work
It does depend on the run configuration you use, eg a docker container debug session won't provide any diagnostic metrics. You can also start dedicated sessions to collect cpu or memory metrics