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
- Have a classic story with multiple pages
- Migrate the story to optimized
- Compare page switch times between the classic and optimized story
- 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
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- SAP Analytics Cloud Connection Guide
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support
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
SAP Knowledge Base Article - Public