Web-based tool for profiling ASP.NET applications. Aim of this project is to create lightweight profiling/monitoring tool with minimal overhead.
Choose the site to profile
Go to downloaded release folder and run
apman -i "my site"
which will enable profiling to site named my site . To make sure you use proper site name, go to IIS Manager (inetmgr) and check site names in the "Sites" node
Choose assemblies to instrument. Instrumenting main assemblies of an application is a good place to start (and in the most cases just enough). So for instance, if your application consists of assemblies named like Company.App.Web.dll, Company.App.Domain.dll, Company.App.Infrastructure.dll etc. you may just point all of them like below
apman -asm Company.App*
For more information and examples who to choose instrumented assemblies you can type
apman -?
Main task for the tool is to gather method execution times from profiled ASP.NET apps and generate Flame Graph for every request. Methods are instrumented on runtime via ICorProfiler API. All metrics are sent through custom ETWs to the separate process which generates SVG charts and stores them on file system.
Run following command in root directory:
build.bat
Donations are greatly appreciated!