Measure page speed using the navigation timing API