Stopwatch constructor is deprecated