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

Unified Diff: pkg/front_end/tool/perf_test.dart

Issue 2677423002: Small fix to perf.dart. (Closed)
Patch Set: Created 3 years, 10 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 | « pkg/front_end/tool/perf.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/tool/perf_test.dart
diff --git a/pkg/front_end/tool/perf_test.dart b/pkg/front_end/tool/perf_test.dart
index 66093eddeeb4f19b30a0f1c1a9026e7f6233d58e..2d265fd9ddbafdde6b0e9646d8c37ea8cf61d5b4 100644
--- a/pkg/front_end/tool/perf_test.dart
+++ b/pkg/front_end/tool/perf_test.dart
@@ -6,6 +6,19 @@
/// the code here just has a dummy import to the rest of the code.
library front_end.tool.perf_test;
+import 'dart:io' show Platform;
import 'perf.dart' as m;
-main() => print('done ${m.inputSize}');
+main() async {
+ var benchIds = [
+ 'scan',
+ 'parse',
+ 'kernel_gen_e2e',
+ 'kernel_gen_e2e_sum',
+ 'linked_summarize'
+ ];
+ var inputFile = Platform.script.resolve('../lib/file_system.dart').path;
+ for (var id in benchIds) {
+ await m.main([id, inputFile]);
+ }
+}
« no previous file with comments | « pkg/front_end/tool/perf.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698