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

Unified Diff: sky/sdk/README.md

Issue 1114553004: Update SDK README to discuss about:tracing and observatory. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | sky/sdk/packages/sky/CHANGELOG.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/README.md
diff --git a/sky/sdk/README.md b/sky/sdk/README.md
index 15319124f870a7a8a997a2fa1ce2cecd80c7081a..f59e7e63b662ac50e14cd9f11160bda41ca95503 100644
--- a/sky/sdk/README.md
+++ b/sky/sdk/README.md
@@ -133,12 +133,32 @@ Running a Sky application
The `sky` pub package includes a `sky_tool` script to assist in running
Sky applications inside the `SkyDemo.apk` harness.
-1. ``packages/sky/lib/sky_tool start --install examples/stocks/main.sky``
+1. ``packages/sky/sky_tool start --install examples/stocks/main.sky``
The --install flag is only necessary to install SkyDemo.apk if not already
installed from the Google Play store.
2. Use ``adb logcat`` to view any errors or Dart print() output from the app.
+Measuring Performance
+---------------------
+
+Sky has support for generating trace files compatible with
+[Chrome's about:tracing](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool).
+
+`packages/sky/sky_tool start_tracing` and `packages/sky/sky_tool stop_tracing`
+are the commands to use.
+
+Due to [a bug](https://github.com/domokit/mojo/issues/127) this currently
+requires root access on the device.
+
+Debugging
+---------
+
+Dart's [Observatory](https://www.dartlang.org/tools/observatory/)
+(VM Debugger & Profiler) support in Sky is
+[in progress](https://codereview.chromium.org/1107803002) and should
+be released shortly after Dart Summit 2015.
+
Building a standalone MyApp
---------------------------
« no previous file with comments | « no previous file | sky/sdk/packages/sky/CHANGELOG.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698