Question

12
Replies
265
Views
YasuhiroIto Member since 2016 7 posts
Posted: February 2, 2016
Last activity: March 21, 2016
Closed
Solved

Report display performance @BrowserIsFireFox took several time

Now I am facing low performance of report display.

By tracing, DB performance seems not bad, it took Display rendering.

And found some delay had come from some When rule. On of example is @BrowserIsFireFox (tool).

The report has 11 properties for 1345 rows, all optimized, 3 items used by sort parameter.  I have tested it IE11, FireFox v.43.04

The trace was collected by FireFox v43.04 and we can see it "false" as the result of When rule.

I would like to know how we can stop or make it faster, the when rule (@BrowserIsFireFox) for rendering performance.

@BrowserIsFireFox function checks simply browser type around 100-300 ms but the Report activity seems to call this function times of number of properties.

List h = ((com.pega.pegarules.priv.PegaAPI)tools).getHTTPHeaders("User-Agent");

if(h == null){

return false;

}

else{

String s = (String)h.get(0);

if(s.indexOf("Firefox/") > 0)

  return true;

else

  return false;

}

Indeed this is not a longest part of latency for Report's display rendering, should clean up each by each.

Yas

System Administration User Interface Reporting
Moderation Team has archived post
Share this page LinkedIn