title: Performance profiling of ASP.NET MVC website code (including Javascript) for a specific user action on the page
body: <p>I have a ASP.NET MVC website and I would like to profile all the method calls (including Javascript) which get invoked on a specific user action on a web page (button click for example). I would like to know which methods are taking longer and/or called frequently, so that I can look into the issue. <strong>I don't want to profile the whole website.</strong>. The event is handled by the Javascript first which makes an Ajax call to the server, gets back the response and does something with it. There is a lot going on both on the client and on the server when this event fires, so looking for profiler to show the root cause of the problem, instead of manually debugging and stepping through every single method.</p>