You can use the free CLR profiler[^] by Microsoft to profile the memory usage of your application, which affects performance. You can use the NPerf Framework[^] to write some performance tests in an NUnit-like fashion. For more advanced things, there are some good 3rd party .NET profilers that tell you how long each line of code is taking. The one we use at work is ANTS Profiler[^], which give you per-line timings.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Dumbest. Movie. Title. Evaaar. The apostle Paul, modernly speaking: Epistles of Paul Judah Himango