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

Unified Diff: pkg/compiler/lib/src/dart2js_profile_many.dart

Issue 2473553005: Code cleanup: moving compiler perf tests to compiler/tool (Closed)
Patch Set: siggi cleanup Created 4 years, 1 month 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 | pkg/compiler/lib/src/dart2js_stress.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/dart2js_profile_many.dart
diff --git a/pkg/compiler/lib/src/dart2js_profile_many.dart b/pkg/compiler/lib/src/dart2js_profile_many.dart
deleted file mode 100644
index 8288a9a33f2dd264e8d59c8bcccfc1852c3deae1..0000000000000000000000000000000000000000
--- a/pkg/compiler/lib/src/dart2js_profile_many.dart
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-library dart2js.profile_many;
-
-import 'dart:async';
-
-import 'dart2js.dart' as cmdline;
-
-const String USAGE = """
-Usage: dart2js_profile_many.dart [OPTIONS] [FILES]
-
-Invokes dart2js separately for each file using the given options.
-This is for profiling multiple compilations in the Dart Observatory.
-""";
-
-printUsage() {
- print(USAGE);
-}
-
-void main(List<String> args) {
- List options = [];
- List files = [];
-
- for (String arg in args) {
- if (arg.startsWith('-')) {
- options.add(arg);
- } else {
- files.add(arg);
- }
- }
-
- if (files.length == 0) {
- printUsage();
- return;
- }
-
- cmdline.exitFunc = (code) {
- throw "Exit with code $code";
- };
-
- Future.forEach(files, (String file) {
- List subargs = [];
- subargs.addAll(options);
- subargs.add(file);
- return cmdline.compilerMain(subargs).catchError((e) {});
- }).then((_) {
- print("Done");
- });
-}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/dart2js_stress.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698