calculate performance timing for web page