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

Unified Diff: test/perf/input/start_dart.js

Issue 11683002: Setting up benchmarks and perf utilities (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: john comments Created 7 years, 11 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 | « test/perf/input/perf_common.dart ('k') | test/perf/input/testing.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/perf/input/start_dart.js
diff --git a/bin/dwc.dart b/test/perf/input/start_dart.js
old mode 100755
new mode 100644
similarity index 70%
copy from bin/dwc.dart
copy to test/perf/input/start_dart.js
index 2c122bda0e285a2a0c82c3adf22b47200e4a16a7..0b7ee837b16d6c3bf8661acb6ee3e8f35c468fd5
--- a/bin/dwc.dart
+++ b/test/perf/input/start_dart.js
@@ -1,8 +1,7 @@
-#!/usr/bin/env dart
// Copyright (c) 2012, 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.
-import 'package:web_ui/dwc.dart' as dwc;
-
-void main() => dwc.main();
+if (navigator.webkitStartDart) {
+ navigator.webkitStartDart();
+}
« no previous file with comments | « test/perf/input/perf_common.dart ('k') | test/perf/input/testing.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698