Future<T> time<T>(String debugLabel) { final Stopwatch stopwatch = Stopwatch()..start(); return then((value) { stopwatch.stop(); return value; }); }