stopwatch test with window.performance