I am trying to improve my apex VF performance and checked various parts. I have already checked the best practice guideline for salesforce VF page. However going further I am looking is there any architecture change or behavior which can help me in improving the performance of Visualforce page which is using the Dynamic query in the backend.

closed as too broad by Mark Pond, Adrian Larson, Himanshu, superfell, martin Mar 5 '16 at 1:05

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


There are lots of things you can do to test your design and implementation but as @kurunve said this is a general question you are asking. However if your page is externally available, via a site you can run your page for load time using one of many tools such as https://developers.google.com/speed/pagespeed/insights/. You can view information about your page load times and total viewstate in the developer console debugger. Set the debug mode to the granularity of your preference. Client side rendering can be preferable over server side depending on what you are up to. Also, here is a nice concise slide deck on some tried and true best practices from the experts: http://www.slideshare.net/developerforce/df121306-ready

Not the answer you're looking for? Browse other questions tagged or ask your own question.