Why UI correction note always has a big static size
Prerequisite knowledge
A simple tool to calculate the total size of a BSP application
Some more technical details about SAP note
My Analysis
Take this simple note for example:
Sara has only changed two lines in JavaScript code ( displayed below ):
However, when downloading this note, the size of compressed XML stream has unbelievable size of 3.2MB.
Among which the delta change occupies 1.7MB:
Why? Please have a look at decompressed XML content here.
However, apart from this code change made by Sara, there are also lots of unrelated code or comment which are also included into the delta change area:
i18n property data
unrelated Javascript code
Unrelated XML view source code
If you use Jerry’s tool to calculate the total static size of My Appointment application, you can get size: 1.5MB.
Please notice that this is only the static size. In the runtime, ABAP note tool needs more memory to unpack and apply the delta change to customer system as explained clearly in ABAP help.
It means the correction instruction for UI note DOES NOT contain the delta code change, but actually contains lots of other unused statement, which leads to the unnecessary big size of note.
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- 分析SpinnerActivityTest中有关控件操作以及UI线程问题
- 160. 如何根据 SAP Fiori UI 界面上的错误消息,找到后台 ABAP 对应的消息 ID
- 关于 sap.ui.base.Object 的简要介绍
- 使用URL直接进入SAP CRM WebClient UI某个订单的明细页面
- 什么是SAP CRM WebClient UI的component usage
- SAP Spartacus UI Duplicated keys has been found in the config of i18n chunks
- SAP 电商云 Spartacus UI SiteContextRoutesHandler 的技术实现明细介绍
- SAP CRM WebClient UI控制器方法DETACH_STATIC_OVW_VIEWS的作用
- SAP CRM WebClient UI context node属性展开的执行逻辑
- SAP 电商云 Spartacus UI 实现的 ngrx-router-store.js 的 serializer
- web开发性能优化---UI接口章
- 18/03/18 04:53:44 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources
- 【Qt】将QtDesigner生成的.ui文件转化为.h头文件