Measure before and after performance of a page switching from static to dynamic content