NanoProfiler
NanoProfiler is a light weight profiling library written in C# which requires
(NanoProfiler 是C#用来记录分析的重量级代码,需要.net4.0以上的版本) .
NET 4.0+. It was inspired by the MiniProfiler project,
(他的灵感源自于MiniProfiler)
but is designed for high performance, big-data analytics, and is easy to be used for both sync & async programming model.
(但是设计者更注重高性能,大数据和在异步方法中更易用)
It has been used in EF (Education First) projects generating billions of profiling events per day with trivial performance penalty.
NanoProfiler itself implements the core profiling feature and a simple implementation for persisting results via slf4net. If you want better profiling result management feature, you could implement the IProfilingStorage interface by yourself.
NanoProfiler also provides a wonderful view-result Web UI supports view latest profiling results in a tree-timeline view (simply visit ~/nanoprofiler/view in your web application).
For more documentations, please check out wiki pages: https://github.com/englishtown/nanoprofiler/wiki