Index: benchmark/benchmark.dart |
diff --git a/benchmark/benchmark.dart b/benchmark/benchmark.dart |
index 03871d0cd662f49bbe6cfa68240f91d14acde266..8dc2690af439ef0edfd35715c8710b763c087f50 100644 |
--- a/benchmark/benchmark.dart |
+++ b/benchmark/benchmark.dart |
@@ -47,6 +47,10 @@ main(args) { |
benchmark('toUri', context.toUri); |
benchmark('prettyUri', context.prettyUri); |
} |
+ |
+ if (args.isEmpty || args.any((arg) => arg == 'current')) { |
+ runBenchmark('current', (_) => path.current, [null]); |
+ } |
} |
const COMMON_PATHS = const ['.', '..', 'out/ReleaseIA32/packages']; |