function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
raj29matraj29mat 

Help Needed in Visual force Performance

Hi,

 

I have created as VF page that includes some 13 tabs related to 20 different object. I have buttons in all these tabs which are taking a 5 sec to respond. I want to improve my performance. I am attaching the debug log which I am getting on click on a button. The function is actually finishing  in the first screenshot itself. But it is calling all get methods for Boolean variables and I am seeing the following code which I am not able to understand. Can anyone let me know what is taking time in this debug?

 

14:30:26.995|METHOD_ENTRY|[1174,7]|System.debug(String)
14:30:26.995|USER_DEBUG|[1174,7]|DEBUG|$$$$$$$$$$$$$$$$$$$$$$$$$$$$here
14:30:26.995|METHOD_EXIT|[1174,7]|debug(ANY)
14:30:26.995|METHOD_ENTRY|[1176,12]|LIST:SOBJECT:Discrepancy__c.size()
14:30:26.995|METHOD_EXIT|[1176,12]|size()
14:30:26.995|METHOD_ENTRY|[1199,13]|LIST:SOBJECT:Discrepancy__c.add(SOBJECT:Discrepancy__c)
14:30:26.995|METHOD_EXIT|[1199,13]|add(ANY)
14:30:26.996|CODE_UNIT_FINISHED
14:30:26.996|VF_APEX_CALL|j_id1370|{!AddDiscrepancy}|PageReference: none

 

14:30:27.513|CODE_UNIT_STARTED|[EXTERNAL]VForcePage
14:30:27.513|CODE_UNIT_STARTED|[EXTERNAL]VForcePage
14:30:27.514|CODE_UNIT_FINISHED
14:30:27.514|CODE_UNIT_FINISHED
14:30:27.515|CODE_UNIT_STARTED|[EXTERNAL]VForcePage
14:30:27.515|CODE_UNIT_STARTED|[EXTERNAL]VForcePage
14:30:27.515|CODE_UNIT_FINISHED
14:30:27.515|CODE_UNIT_FINISHED
14:30:27.749|CODE_UNIT_STARTED|[EXTERNAL]VForcePage
14:30:27.750|CODE_UNIT_STARTED|[EXTERNAL]VForcePage
14:30:27.750|CODE_UNIT_FINISHED
14:30:27.750|CODE_UNIT_FINISHED