Blogs / SAP / SAP BusinessObjects / SAP Lumira / SAP Lumira – Why JAVA Script Compression?

SAP Lumira – Why JAVA Script Compression?

Jan 18, 2019

SHARE

This blog is an extension of my previous blog about enabling JAVA script compression in Business Objects for SAP Design Studio performance. Since Lumira 2.0 is a directly compatible upgrade for SAP Design Studio, JAVA script compression is also applicable for SAP Lumira. In this blog, we will share some information on how JAVA script compression improves the application load time.

For the sake of demonstration, a sample application has been selected and executed with and without JAVA script compression. The application load times for the same have been recorded and following are the inferences:

JAVA Script Compression Disabled

When JAVA script compression is disabled, JS minification won’t happen. So the JS files related to Lumira are bigger in size and take more time to load. Most of the resources needed for Lumira rendering like CSS, JS libraries and images load in parallel over the network. However, if the size of the components is huge, it will take more time to complete the overall application rendering.

Application Profiling Stats

SAP Lumira – Why JAVA Script Compression?

Browser Stats – Load time & Size

SAP Lumira – Why JAVA Script Compression?

Browser Stats – Size of Core Files

SAP Lumira – Why JAVA Script Compression?

JAVA Script Compression Enabled

When JAVA script compression is enabled, JS files will be minified and their size will be reduced. When the size is reduced it take less time to transfer them over the network.

Application Profiling Stats

SAP Lumira – Why JAVA Script Compression?

Browser Stats – Load time & Size

SAP Lumira – Why JAVA Script Compression?

Browser Stats – Size of Core Files

SAP Lumira – Why JAVA Script Compression?

Based on the statistics, the following are the key observations:

From the statistics, it can be observed that the core JS file alone got compressed by 1/4th of its original size. Similarly, other JS files also got compressed which resulted in an overall size reduction from 7.8 MB to 2.3 MB. Even though the server side profiling time is almost similar for both runs, there is a significant improvement in application rendering time due to reduced file size.

As an added information, JAVA script compression is enabled by default in most releases of BI 4.2 and later releases of BI 4.1. However, this parameter might be missing in some systems and might get reverted after system upgrades and patches. So it is recommended to check this after every patch/support pack/upgrade.

Interested to learn how to leverage SAP Lumira for your enterprise? Reach out to us today.


Corporate HQ:
5920 Windhaven Pkwy, Plano, TX 75093

+1 888-227-2794

+1 972-232-2233

+1 888-227-7192

solutions@visualbi.com


Copyright © Visual BI Solutions Inc.

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Share This!

Share this with your friends and colleagues!