How to profile performance for a single unit test using Visual Studio 2013 Professional?

前端 未结 2 982
傲寒
傲寒 2021-01-01 12:54

I would like to run the Visual Studio 2013 Professional edition profiler for a single automated test. It is not clear from other questions here on how to do so using the Pro

2条回答
  •  借酒劲吻你
    2021-01-01 13:16

    To run performance analysis on a unit test, I just create a console application that I call the unit test method from, then use that as the target project for the performance analysis. This is probably easier than firing up two instances of VS and attaching.

提交回复
热议问题