| OLD | NEW |
| 1 Mojo | 1 Mojo |
| 2 ==== | 2 ==== |
| 3 | 3 |
| 4 Mojo is a collection of interprocess communication technologies, protocols | 4 Mojo is a collection of interprocess communication technologies, protocols |
| 5 and a runtime for creating applications and services that are composable while | 5 and a runtime for creating applications and services that are composable while |
| 6 being loosely coupled. It simplifies the creation of fully asynchronous | 6 being loosely coupled. It simplifies the creation of fully asynchronous |
| 7 component-based systems and provides guarantees so that components made by | 7 component-based systems and provides guarantees so that components made by |
| 8 different vendors and in different programming languages can interoperate. | 8 different vendors and in different programming languages can interoperate. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 | 190 |
| 191 Some applications can be run directly from the source tree. The development | 191 Some applications can be run directly from the source tree. The development |
| 192 server serves the `src` directory, allowing to refer to these apps. For | 192 server serves the `src` directory, allowing to refer to these apps. For |
| 193 instance, this command serves a dart Mojo app from the source at | 193 instance, this command serves a dart Mojo app from the source at |
| 194 `examples/dart/device_info/main.dart`: | 194 `examples/dart/device_info/main.dart`: |
| 195 | 195 |
| 196 ```sh | 196 ```sh |
| 197 mojo/devtools/common/mojo_run https://core.mojoapps.io/examples/dart/device_info
/lib/main.dart [--android] | 197 mojo/devtools/common/mojo_run https://core.mojoapps.io/examples/dart/device_info
/lib/main.dart [--android] |
| 198 ``` | 198 ``` |
| 199 | 199 |
| 200 Some applications are meant to be run embedded in a **window manager**. To run | 200 Some applications implement ViewProvider and are run embedded in a view. To run |
| 201 these, you can pass the app url using the `--embed` flag. This will run the | 201 these, you can pass the app url using the `--embed` flag: |
| 202 window manager and pass the given url to it: | |
| 203 | 202 |
| 204 ```sh | 203 ```sh |
| 205 mojo/devtools/common/mojo_run --embed https://core.mojoapps.io/ganesh_app.mojo [
--android] | 204 mojo/devtools/common/mojo_run --embed mojo:moterm_example_app [--android] |
| 206 ``` | 205 ``` |
| 207 | 206 |
| 208 By default, `mojo_run` uses mojo:kiosk_wm as the window | 207 which is a shorthand for: |
| 209 manager. You can pass a different window manager url using the | 208 |
| 210 `--window-manager` flag to override this. | 209 ```sh |
| 210 mojo/devtools/common/mojo_run "mojo:launcher mojo:moterm_example_app" |
| 211 ``` |
| 211 | 212 |
| 212 For additional information on `mojo_run` refer to the built-in help and the | 213 For additional information on `mojo_run` refer to the built-in help and the |
| 213 [documentation](mojo/devtools/common/docs/mojo_run.md). | 214 [documentation](mojo/devtools/common/docs/mojo_run.md). |
| 214 You can also request more information on what the tool is doing for you by | 215 You can also request more information on what the tool is doing for you by |
| 215 passing the `--verbose` flag. | 216 passing the `--verbose` flag. |
| 216 | 217 |
| 217 ### <a name="debugging"></a>Debugging, tracing, profiling | 218 ### <a name="debugging"></a>Debugging, tracing, profiling |
| 218 | 219 |
| 219 Devtools `mojo_debug` allows you to interactively inspect a running shell, | 220 Devtools `mojo_debug` allows you to interactively inspect a running shell, |
| 220 collect performance traces and attach a gdb debugger. | 221 collect performance traces and attach a gdb debugger. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 | 315 |
| 315 Automated alerts about performance regressions are sent to | 316 Automated alerts about performance regressions are sent to |
| 316 [mojo-perf-alerts@chromium.org](https://groups.google.com/a/chromium.org/forum/#
!forum/mojo-perf-alerts). | 317 [mojo-perf-alerts@chromium.org](https://groups.google.com/a/chromium.org/forum/#
!forum/mojo-perf-alerts). |
| 317 | 318 |
| 318 For examples of interesting sets of graphs see: | 319 For examples of interesting sets of graphs see: |
| 319 | 320 |
| 320 - [app | 321 - [app |
| 321 startup](https://chromeperf.appspot.com/report?sid=4848464df5ca8467770d80b309
740ef56fbff00e773c2c53816fd8bff1fda1e0) | 322 startup](https://chromeperf.appspot.com/report?sid=4848464df5ca8467770d80b309
740ef56fbff00e773c2c53816fd8bff1fda1e0) |
| 322 - [ipc | 323 - [ipc |
| 323 performance](https://chromeperf.appspot.com/report?sid=9abc20b46f6f8d908b0f07
847f1d42eab54c7025a098336e6dc2d3e2030d66f8) | 324 performance](https://chromeperf.appspot.com/report?sid=9abc20b46f6f8d908b0f07
847f1d42eab54c7025a098336e6dc2d3e2030d66f8) |
| OLD | NEW |