cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Lumira Designer 2.x Bookmark Performance Issue

Pierre
Explorer
0 Kudos
1,897

Hi,

we are currently facing a big performance issue with SAP Lumira Designer bookmarks.
We do have a more complex dashboard containing multiple Charts and Composites. It also supports "Settings", which save the state of one global variable and load it "onStartup".

When we execute the dashboard on the BI Platform, the startup time is more than 15 seconds, because we load the "Setting" vial Bookmark.load(bookmarkId). If we don't load the single bookmark, the dashboard is available after 1,5 seconds.

Via Profiling we can identify, that if we load the bookmark, Lumira tries to call the Bookmark Service of the BI Platform multiple times during the rendering process. It seems, that it does so after every function or event call in the dashboard:

24 ms: BoeDataService: Retrieving bookmark data from CMS
54 ms: BoeDataService: Retrieving bookmark data from CMS
67 ms: BoeDataService: Retrieving bookmark data from CMS

The sheer amount of calls (over 100 times) stacks up to the long loading time. Since the bookmark only contains one global variable, calling the service that often doesn't make any sense.

This problem occurs in all currently released Lumira 2.x versions and we haven't found a way to reduce the loading time other than to disable the bookmarks. I haven't seen anything concerning this issue neither in the SAP Community nor in the SAP Notes.

Does anyone else faced this issue or has a hint, how to avoid calling the service?

View Entire Topic
dougwood_sb
Explorer

Hi Mike


We have the same experience. I have an app that generates text boxes in the form of a table to fulfill all of the requirements.

The bookmarks do not save to the root folder.

With the client it opens 10 times quicker. What I notice is that the bookmark calls are:

1ms with the Client:

10 ms: COMPONENTS.createComponent()
10 ms: COMPONENTS.copyProperties()
1 ms: Start service BOOKMARK_METADATA_SERVICE for local [MASTER SYSTEM]
1 ms: Start service BOOKMARK for local [MASTER SYSTEM
]
10 ms: COMPONENTS.createComponent()
30 ms: COMPONENTS.copyProperties()
1 ms: Process page command SET_ITEM_PARAMETERS
1 ms: TEXT_71.setTopMargin()

and 100ms+ on the Platform:

219 ms: COMPONENTS.createComponent()
1 ms: Process page command CREATE_ITEM
1 ms: Start service PAGE_OBJECT
1 ms: Start service BOOKMARK_PROCESSOR_SERVICE for BOE_MASTER_SYSTEM_ALIAS [MASTER SYSTEM]
1 ms: Start service BOOKMARK for BOE_MASTER_SYSTEM_ALIAS [MASTER SYSTEM]
84 ms: BoeDataService: Retrieving bookmark data from CMS
1 ms: Start service BOOKMARK_PROCESSOR_SERVICE for BOE_MASTER_SYSTEM_ALIAS [MASTER SYSTEM]
1 ms: Start service BOOKMARK for BOE_MASTER_SYSTEM_ALIAS [MASTER SYSTEM]
1 ms: BoeDataService: Initializing Bookmark CMS service
128 ms: BoeDataService: Retrieving bookmark data from CMS

247 ms: COMPONENTS.copyProperties()
1 ms: Start service BOOKMARK_PROCESSOR_SERVICE for BOE_MASTER_SYSTEM_ALIAS [MASTER SYSTEM]
101 ms: BoeDataService: Retrieving bookmark data from CMS
1 ms: Start service BOOKMARK_PROCESSOR_SERVICE for BOE_MASTER_SYSTEM_ALIAS [MASTER SYSTEM]
1 ms: Start service BOOKMARK_METADATA_SERVICE for BOE_MASTER_SYSTEM_ALIAS [MASTER SYSTEM]
140 ms: BoeDataService: Retrieving bookmark data from CMS

1 ms: TEXT_71.setTopMargin()
1 ms: TEXT_71.setTooltip()

All of the <1ms calls are excluded from above. You can see that each iteration of component creation is 10-11x slower.

I have an incident open, will let you know if the developer comes back with anything.

BI 4.2.6.0

Lumira 2.1.1.2

Best

Doug

dougwood_sb
Explorer