Phani
Phani

Reputation: 95

performance of functions and memory allocated in c#

I would like to see each and every function performance and the memory allocated to it. so that i can make my function run faster in c#. Is there any such type of profile is there to watch out the memory allocated to each function?

Upvotes: 1

Views: 402

Answers (4)

Madhu Beela
Madhu Beela

Reputation: 2215

CLR profiler

One of the important factors for performance degradation in .NET code is memory consumption. Many developers just concentrate on execution time to determine performance bottle necks in a .NET application. Only measuring execution time does not clearly give idea of where the performance issue resides. The execution time can be clearly viewed

here is the link where you can find complete details ...

hope this helps ...

Upvotes: 1

Maheep
Maheep

Reputation: 5605

You need to do memory profiling of your application. Below mentioned discussion may help you about that

What Are Some Good .NET Profilers?

Upvotes: 0

Naveed Butt
Naveed Butt

Reputation: 2901

Here is a utility from SysInternals that help identify the memory usage per each process... RamMap

Upvotes: 0

Pavel Krymets
Pavel Krymets

Reputation: 6293

I think Microsoft's .NET performance tools has feature that you require

Upvotes: 0

Related Questions