Performance
Portlet performance is very important, as it may often be the weakest performance link in a page. As portlets are very dynamic in nature, it is important to ensure that their rendering performance is optimal. When designing your portlet, make sure that you will never calculate data systematically on render. Also, it may be a good idea to use either the Portlet API caches or integrate your own caches to make sure you do not unnecessarily regenerate the same HTML output repeatedly.
Finally, it is always recommended to test the loading of the pages in which the portlet will be used to make sure the performance impact is minimal.

