Use Performance Insights and Story Object Size to Analyze Your Story Performance
You can use Performance Insights in view mode, which provides statistics and recommendations based on the assets in your story for you to analyze and optimize your story performance. You can also use Analyze Object Size to calculate the size of objects in your story, so that you can choose to modify or remove objects if necessary.
Create Performance Insights
Performance Insights consists of Loading Sequence, Story Statistics, and Recommendations in respective tabs.
To enable Performance Insights, in edit mode, from Tools in the toolbar, select .
When your story finishes loading in view mode, select Performance Insights from the right of the toolbar. You can also select Performance Insights from Tools in the toolbar to open the tool.
Check Loading Sequence
In the Loading Sequence tab, you can check the sequence and time of different processes when your story was loading in a chart view.

-
Local (blue): Local processes are run within the environment of the browser itself.
-
Update Persisted InA: Persisted InA is in the generation process because the cached one is unavailable.
-
Load resource file of custom widget <widget name>: Download a custom widget's resource file.
-
Prepare widgets query: Set up a query for widgets.
-
Load <widget type> <widget name>: Create a widget instance, including the time it takes to render the widget if data is available.
-
Render <widget type> <widget name>: Render or generate the representation of a widget with its associated data. However, if the data refresh is paused, the widget is illustrated without incorporating any data. If not, the widget waits for data to be ready to be rendered.
-
-
Remote (orange): Remote processes require interactions with servers outside of your local browser environment. They typically include operations requiring data retrieval from servers.
-
Query cube metadata: Seek information about a cube (multi-dimensional structure)’s metadata of a data model.
-
Query model metadata: Obtain information about a data model's metadata.
-
Query model metadata (cache validation): Check whether the cached data model's metadata is still valid. For example, when a chart's dimension, measure, or filter is changed, there's an extra round trip to fetch the model's metadata again.
-
Query dimension hierarchies, members, or member descriptions: Retrieve hierarchies, members, or member descriptions of a dimension.
-
Fetch widgets data from batch query: Retrieve data of multiple widgets with a batch query.
-
Query data of widget <widget name>: Retrieve data of a specific widget if it's not included in a batch query.
-
Load content library: Load the story definition.
-
Get server information: Establish a connection with a remote server and acquire a token.
-
-
Script (green): Script processes refer to the running of scripts in the browser, which bring dynamic interaction and manipulation with the story elements.
-
Run <ID.event> script: Run the script for specific APIs and event.
-
Wait for <widget name> to be rendered: Wait when a script requires a widget that hasn't been fully rendered.
-
Fetch description of members from dimension <dimension ID>: Obtain a description required for setDimensionFilter or similar APIs.
-
Each process is represented as a bar. When selecting a bar, you can find more details of the corresponding process, including duration, start time, and end time.
-
Loading screen appeared.
-
Loading screen disappeared.
Loading screen refers to screen with Loading your story before your story appears.
-
Initial viewport loading completed.: All widgets initially in the viewport have been rendered.
-
(For stories with scripts) On initialization scripts completed.: Scripts that are run upon story initialization have been completed.
Check Story Statistics
In the Story Statistics tab, you can check the existing story settings, query settings, widget details, and so on and copy the story statistics to your clipboard.

-
Story settings, including loading optimization and auto refresh settings
-
Query settings
-
Number of widgets per page
-
Widget details:
-
Name
-
Type
-
Visibility Setting
-
Rendering Phase: Whether the widget was rendered in the story initialization phase, or background after initialization. The inclusion of queried data of a widget depends on its setting. For example, a chart whose data refresh is paused doesn't yet include data.
-
Check Performance Optimization Recommendations
In the Recommendations tab, you can find performance optimization recommendations based on your story context.
-
The query loads for a long time.
-
The script runs for a long time.
-
Loading optimization settings is set to None.
-
Filter, variable, or page URL parameter is used.
-
Variables are set on story initialization.
-
The setDimensionFilter API is used with only a member ID.
-
The getMembers API is used when the data volume is large.
-
There are a large number of widgets on the page.
-
There are a large number of pages.
-
The story size is too large.
-
The image is too large.
-
The initial drill level is large.
-
The result set is large.
-
There are exception aggregation dimensions.

You can expand each issue for more details. With the recommendations, you can detect the performance issues in your story and take actions to optimize your story performance.

