Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Unified Diff: benchmark/benchmark.dart

Issue 1182953003: Eat some dogfood! (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | bin/format.dart » ('j') | lib/src/source_visitor.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmark/benchmark.dart
diff --git a/benchmark/benchmark.dart b/benchmark/benchmark.dart
index 11a3e507834127b767ca87e92fcef26a12f43ab4..ab960f50c905b5853e0e2614d118770dcb9196d0 100644
--- a/benchmark/benchmark.dart
+++ b/benchmark/benchmark.dart
@@ -33,8 +33,8 @@ void main(List<String> args) {
result = formatSource();
}
- var elapsed = new DateTime.now()
- .difference(start).inMilliseconds / FORMATS_PER_TRIAL;
+ var elapsed =
+ new DateTime.now().difference(start).inMilliseconds / FORMATS_PER_TRIAL;
// Keep track of the best run so far.
if (elapsed >= best) continue;
« no previous file with comments | « no previous file | bin/format.dart » ('j') | lib/src/source_visitor.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698