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

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

Issue 2875703002: Fix compiler.perf script (Closed)
Patch Set: Created 3 years, 7 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/compiler/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/compiler/tool/perf_test.dart
diff --git a/pkg/compiler/tool/perf_test.dart b/pkg/compiler/tool/perf_test.dart
index d4afa17cb26152767ead72ed6a125953d7452a16..12cbc3d3e610690b671c5e4c891507fd811aa92e 100644
--- a/pkg/compiler/tool/perf_test.dart
+++ b/pkg/compiler/tool/perf_test.dart
@@ -6,6 +6,10 @@
/// the code here just has a dummy import to the rest of the code.
library compiler.tool.perf_test;
+import 'dart:io';
import 'perf.dart' as m;
-main() => print('done ${m.inputSize}');
+main() async {
+ var inputFile = Platform.script.resolve('track_memory.dart').path;
+ await m.main(['kernel_gen_e2e', inputFile]);
+}
« no previous file with comments | « pkg/compiler/tool/perf.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698