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.

See the online help for a more detailed description with examples.
PerformanceTestTResult Provides a class for performance tests of FuncTResult delegate test cases (tests with a return value).

See the online help for an example.
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.

See the online help for a more detailed description with examples.
Profiler Provides members for performance monitoring.

See the online help for an example with images.

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.