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

Unified Diff: pkg/compiler/tool/dart2js_stress.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 | « pkg/compiler/tool/dart2js_profile_many.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/dart2js_stress.dart
diff --git a/pkg/compiler/lib/src/dart2js_stress.dart b/pkg/compiler/tool/dart2js_stress.dart
similarity index 80%
rename from pkg/compiler/lib/src/dart2js_stress.dart
rename to pkg/compiler/tool/dart2js_stress.dart
index 804c577172e52fdc487dd15f0441497e4daba6f7..d699e2b9149b91fe4602212bb1676c940651844e 100644
--- a/pkg/compiler/lib/src/dart2js_stress.dart
+++ b/pkg/compiler/tool/dart2js_stress.dart
@@ -4,7 +4,8 @@
library dart2js.stress;
-import "dart2js.dart" as dart2js;
+import 'package:compiler/src/dart2js.dart' as dart2js;
+import 'dart:io' show Platform;
const ITERATIONS_FLAG_PREFIX = "--iterations=";
void main(List<String> args) {
@@ -20,7 +21,9 @@ void main(List<String> args) {
"Use '$ITERATIONS_FLAG_PREFIX<count>' to set a repetition count"
" (as first flag).");
}
- args = ["--suppress-warnings", "--suppress-hints"]..addAll(args);
+ args = ["--suppress-warnings", "--suppress-hints", "--library-root="
+ "${Platform.script.resolve('../../../sdk').toFilePath()}"]
+ ..addAll(args);
void iterate() {
count++;
sw.reset();
« no previous file with comments | « pkg/compiler/tool/dart2js_profile_many.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698