前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Why UI correction note always has a big static size

Why UI correction note always has a big static size

作者头像
Jerry Wang
发布2019-06-14 10:55:29
4360
发布2019-06-14 10:55:29
举报

Creative Commons

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:

clipboard1
clipboard1

Sara has only changed two lines in JavaScript code ( displayed below ):

clipboard2
clipboard2
clipboard3
clipboard3

However, when downloading this note, the size of compressed XML stream has unbelievable size of 3.2MB.

clipboard4
clipboard4

Among which the delta change occupies 1.7MB:

clipboard5
clipboard5

Why? Please have a look at decompressed XML content here.

clipboard6
clipboard6
clipboard7
clipboard7

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

clipboard8
clipboard8

unrelated Javascript code

clipboard9
clipboard9

Unrelated XML view source code

clipboard10
clipboard10

If you use Jerry’s tool to calculate the total static size of My Appointment application, you can get size: 1.5MB.

clipboard11
clipboard11

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.

clipboard12
clipboard12

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.

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019年06月13日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Prerequisite knowledge
  • My Analysis
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档