SAP CRM Fiori My Task后台实现的性能优化前后数据比较

Monday, February 1, 2016 4:52 PM

Before optimization

data retrieval for all five sub nodes ( (1) complex note (2) application log (3) user status (4) document history (5) attachment ) are done by Indian colleagues within the loop, which has quite poor performance – as complained by Marcin, it totally costs 71 seconds to finish task initial load.
After optimization
I have rewritten data retrieval for all five sub nodes and the optimized version only took around 17 seconds now in GM6 using user FF2_BUPA_AHN.

SAP CRM Fiori My Task后台实现的性能优化前后数据比较
SAP CRM Fiori My Task后台实现的性能优化前后数据比较
SAP CRM Fiori My Task后台实现的性能优化前后数据比较
Before optimization, method GET_EXPANDED_ENTITYSET_ORIGIN has totally 253 lines of code,

SAP CRM Fiori My Task后台实现的性能优化前后数据比较
Now only 70 lines of code, much easier to understand and maintain.
SAP CRM Fiori My Task后台实现的性能优化前后数据比较
要获取更多Jerry的原创文章,请关注公众号"汪子熙":

SAP CRM Fiori My Task后台实现的性能优化前后数据比较