SAP Knowledge Base Article - Public

3660310 - Increased time for switching pages after migrating the story to optimized in SAP Analytics Cloud (SAC)

Symptom

After migrating from a classic to an optimized story, the time it takes to switch pages in the optimized story has increased compared to the classic story.

Environment

SAP Analytics Cloud

Reproducing the Issue

  1. Have a classic story with multiple pages
  2. Migrate the story to optimized
  3. Compare page switch times between the classic and optimized story
  4. Page switching in the optimized story takes longer in comparison

Cause

This is by design of the product. The action and performance of page switching cannot be directly compared for the reasons listed below:

  • Optimized stories are designed to be faster in opening and loading of the first page. Part of the optimization is to load model metadata only as needed.

  • For page switching, if the model(s) being used on the destination page have not previously loaded their metadata, then it will be loaded during the switch. This is an additional overhead during page switch that is delayed compared to classic, where all model metadata is loaded on the initial story load.

  • Furthermore, there are architectural changes made for optimized stories to support new features, such as undo/redo. This may also contribute to an increase in the time to switch pages as widgets of the destination page may have additional initialization overhead compared to classic stories.

Resolution

The increased loading time can be mitigated by the followings:

  • Use Viewport Loading mode and lower the number of visible widgets in the viewport of the destination page
    • This limits the number of widgets requiring initialization before page switch to those in the viewport of the destination page. 
    • More information can be found in the following user's guide page: Optimize Story Loading

  • Don’t enable “Always initialize on startup” in the styling panel for widgets
    • Enabling this option will treat the widget as if it were in the viewport and negates the benefits of viewport loading
    • More information can be found in the following user's guide page: Initialize Widgets on Startup (Optimized)

  • It’s recommended to not have an empty landing page, but instead, have a content rich page as the landing page to best take advantage of the optimizations made to story loading.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

sac, performance, increased, increase, high, loading, load, time, switch, change, adjust, move, page, tab , KBA , LOD-ANA-DES , Story Design & Visualizations , Problem

Product

SAP Analytics Cloud 1.0