Improve the performance of creating summary page.