CPI Helper - Performance Stats Plugin

Last Updated on 2024-02-03

Overview

The Performance Stats Plugin is designed to enhance your experience with CPI Helper by providing visual insights into the time consumed by trace-enabled messages. When enabled, this plugin adds a dedicated button to help you easily identify performance bottlenecks in your integration flows.

Trace Modifier Feature

Alongside the Performance Stats Plugin, the Trace Modifier feature allows developers to adjust the trace step modifier directly within their integration flows. This feature grants more granular control but should be used with caution, as it may cause your browser to freeze if not handled properly.Warning: Overuse of the Trace Modifier, especially with large flows, can lead to browser performance issues, including potential freezes.

Common Issue

A known issue with CPI Helper is that it may not capture all steps in Inline debug mode. The Performance Stats Plugin addresses this by providing a more flexible way to control and monitor trace steps, ensuring that all necessary steps are accounted for.

Configuration (Without Plugin)

If you prefer to configure settings without using the plugin, you can adjust the trace step limit globally from the extension page. Here's how you can set it:

  • Set as any number: Applies the change to all flows. The default value is 300, which is considered the safest option.
  • Set as 0: Removes the step limit entirely. However, be cautious as this may freeze the browser when dealing with large flows.
  • Set as null or leave it blank: This retains the default value.

Configuration (With Plugin)

Enabling the plugin provides more dynamic control by allowing you to set trace step limits on a per-flow basis. Here's how to configure it:

  1. Enable the Plugin: Go to the plugin UI page on the Design page and activate the plugin.

  2. Reload Messages: Use the Alt + 3 button to reload messages within the popup.

  3. Configure Step Counts: Access the plugin area to set the desired step counts for each flow.

    • Set as any number: Applies the change specifically to the current flow.
    • Set as 0: Removes the step limit for the selected flow.
    • Set as null or leave it blank: Uses the global variable (default setting).

If the plugin page is not visible, click on the center icon in the popup to access it. The configurations you set in the trace modifier page will function as iFlow scope variables, giving you precise control over your integration flows.


By following these guidelines, you can optimize the use of the Performance Stats Plugin and Trace Modifier, ensuring a smoother and more efficient workflow within CPI Helper.


End of article.