TestimoX

API Reference

Class

ServerFeatureBenchmark

Namespace ComputerX.Features
Assembly ComputerX
Modifiers static

Benchmarks server feature collection in fast and catalog modes.

Inheritance

  • Object
  • ServerFeatureBenchmark

Methods

public static ServerFeatureBenchmarkResult Get(String computer = null, Int32 iterations = 5, Nullable<TimeSpan> timeout = null, Boolean includeFlatten = true, CancellationToken cancellationToken = null) #
Returns: ServerFeatureBenchmarkResult

Gets benchmark metrics for server feature collection latency and payload characteristics.

Parameters

computer System.String = null optionalposition: 0
Target computer name. Null/whitespace or . resolves to local machine.
iterations System.Int32 = 5 optionalposition: 1
Number of timed iterations per mode.
timeout System.Nullable{System.TimeSpan} = null optionalposition: 2
Per-query timeout.
includeFlatten System.Boolean = true optionalposition: 3
When true, includes ServerFeatureInfo>) timing.
cancellationToken System.Threading.CancellationToken = null optionalposition: 4
Optional cancellation token to stop a long-running benchmark loop.

Returns

Benchmark result for fast and catalog modes.