KGySoft.Diagnostics Namespace

The KGySoft.Diagnostics namespace contains diagnostic tools such as the Profiler and PerformanceTest classes along with some generic debugger views.

Classes

CollectionDebugViewT Provides a debug view applicable for DebuggerTypeProxyAttribute for ICollectionT types.
DictionaryDebugViewTKey, TValue Provides a debug view applicable for DebuggerTypeProxyAttribute for IDictionaryTKey, TValue types.
PerformanceTest Provides a class for performance tests of Action delegate test cases.
PerformanceTestTResult Provides a class for performance tests of FuncTResult delegate test cases (tests with a return value).
PerformanceTestBase Provides a base class for performance tests.
See the Examples section of the PerformanceTest class for some examples.
PerformanceTestBaseTDelegate, TResult Provides a base class for performance tests.
Profiler Provides members for performance monitoring.

Interfaces

IMeasureItem Represents a measurement item that is managed by the Profiler class.
IPerformanceTestResultCollection Represents the performance test results of a PerformanceTestBase implementation. Items are sorted either by execution time (ascending - if Iterations was specified in the original test), by performed iterations (descending - if TestTime was specified), or by result size (ascending - if SortBySize was ).
See the Examples section of the PerformanceTest class for some examples.
ITestCaseRepetition Represents the performance test results of a single repetition of a test case.
ITestCaseResult Represents a performance test case result in an IPerformanceTestResultCollection.