Documentation

Documentation
V4 Documentation

Track Engine Performance

Global-level NCrunch configuration setting Default Value: false (prior to v3.31), true (v3.31 and above)

Purpose

When this setting is enabled, NCrunch will capture performance data related to the execution of tests and report this in a separate tab inside the Tests Window.

Performance data is captured for every step relevant to the execution of a selected test. The capture process begins when a test is added to the NCrunch Processing Queue, and is completed when the engine registers the execution results from the test run. Steps also include tasks that are required for the test run to begin, such build and test discovery/analysis tasks performed by the engine.

The performance impact of measuring NCrunch engine performance is negligible.

From NCrunch v3.31 and above, this setting no longer exists and is implicitly always enabled, allowing the performance data to be accessible at all times.

Recommendations

The data surfaced by this setting is considered to be diagnostic rather than general purpose. Understanding the individual steps required for the execution of steps will usually involve a deep understanding of the NCrunch engine; the internals of which are not currently documented. For this reason the setting is disabled by default.

The primary purpose of engine performance tracking is to aid with development and optimisation of the NCrunch engine itself. However, the data can often provide useful information when trying to understanding why the engine is taking a long time to perform specific tasks. The data is also sufficiently structured to allow comparison of the performance of different test frameworks in a real world scenario.

Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download