How do you profile your code?

后端 未结 9 1921
小鲜肉
小鲜肉 2020-12-23 18:14

I hope not everyone is using Rational Purify.

So what do you do when you want to measure:

  • time taken by a function
  • peak memory usage
9条回答
  •  温柔的废话
    2020-12-23 18:53

    nProf - Free, does that for .NET.

    Gets the job done, at least enough to see the 80/20. (20% of the code, taking 80% of the time)

提交回复
热议问题