Performance issues on Directed Web Access(DWA) screen in Chrome
UI generated by Pega in an external assignment using Direct Web Access (DWA) is fast in IE, but lags when clicking radio buttons, check boxes, etc in Chrome.
No error. There is a performance hit. 15 second lag in Chrome is observed as compared to IE
Steps to Reproduce
1. Click on URL generated by DWA. This will load up a Pega UI screen.
2. On the screen, click Radio Buttons/Checkboxes in IE.
3. Repeat the same test in Chrome and compare the time lag.
The root cause of this problem is a defect in Pegasystems’ code/rules. The pega.util.Dom.getElementsByName API in (pega_yui_extensions.js) is programmed to use XPath query for non-IE browsers which is causing performance impact in case of Chrome.
The fix was to use getElementsByName DOM API if the root of the search is the document object else fallback to XPath query in case a DOM element is specified as root of the search.
This issue is resolved by hotfix item, Hfix-9730
0% found this useful