Code - Alpha Solutions

How to measure performance and ensure quality from every action.

11.25.16

BY NIKET ASHESH

When you have a few developers working on your solution, ensuring code quality, performance is very important. One thing I have used frequently is a global action filter. The filter simply clocks each action in every controller and logs the speed. This is accessible to each developer and since it is in the logs, we can measure performance over a period of time.

Here is the code:

Measuring Performance of each action in MVC