Bagikan melalui


How to: Configure Noise Reduction in Performance Reports

Performance reports can be configured for noise reduction by limiting the amount of data presented in the Call Tree view and the Allocation view. By using noise reduction, performance problems are more prominent. This helps when you analyze performance reports

Noise reduction configuration options include the following settings:

  • Trimming   When a report is analyzed, the view will omit functions that fall within the value and threshold settings that you have configured, as described in the trimming procedure that follows. Trimming is enabled by default.

  • Folding   If you enable folding, consecutive functions on a path meeting the settings that you have configured will be merged as described in the folding procedure that follows. Folding is enabled by default.

To configure trimming for a performance report

  1. While either a Call Tree view or Allocation view is being displayed in the generated report, on the Developer menu, click Profiler and then click Noise Reduction Options.

    The Noise Reduction dialog box appears.

  2. To enable trimming, follow these steps:

    1. Select Enable Trimming. This is the default setting.

      Note

      If noise reduction is enabled, an information bar will display in the report. For more information, see Call Tree View and Profiler .NET Memory Allocations View

    2. Configure the value setting by using the Value drop-down list and choosing the applicable setting.

    3. Configure the desired threshold setting by typing a percentage value in the Threshold text box.

    4. To enable the noise reduction warning in the generated report, select Display warning when Noise Reduction is enabled. This is the default setting.

  3. To disable trimming, clear Enable Trimming.

  4. Click OK.

To configure folding for a performance report

  1. On the Developer menu, click Profiler and then click Noise Reduction Options.

    The Noise Reduction dialog box appears.

  2. To enable folding, follow these steps:

    1. Select Enable Folding. This is the default setting.

      Note

      If noise reduction is enabled, an information bar will display in the report. For more information, see Call Tree View and Profiler .NET Memory Allocations View

    2. Configure the value setting by using the Value drop-down list and choosing the applicable setting.

    3. Configure the desired threshold setting by typing a percentage value in the Threshold text box.

    4. To enable the noise reduction warning in the generated report, select Display warning when Noise Reduction is enabled. This is the default setting.

  3. To disable folding, clear Enable Folding.

  4. Click OK.

See Also

Tasks

How to: Exclude or Include Short Functions from Instrumentation

Reference

Call Tree View

Profiler .NET Memory Allocations View

Other Resources

Customizing Profiling Tools Report Views