commit | fd7c87ce448bdbb15bd06e6ad06dd9f9effc1180 | [log] [tgz] |
---|---|---|
author | Benjamin Prosnitz <bprosnitz@google.com> | Thu Jan 14 09:09:08 2016 -0800 |
committer | Benjamin Prosnitz <bprosnitz@google.com> | Thu Jan 14 09:09:13 2016 -0800 |
tree | b70c976046edc016a254558146c95bb1a92b6231 | |
parent | 297c956f3a9d5db0501af244d9700b69a5fd14ab [diff] |
v23proxy: Add mojo<->vom transcoding benchmarks BenchmarkVdlToMojomTranscoding-12 30000 44568 ns/op BenchmarkMojomToVdlTranscoding-12 100000 24561 ns/op BenchmarkVomEncoding-12 10000 117646 ns/op BenchmarkVomDecoding-12 30000 49158 ns/op BenchmarkMojoEncoding-12 500000 2757 ns/op BenchmarkMojoDecoding-12 500000 2969 ns/op Change-Id: I9a236a5905eeec57b407c9fa911a56cdf4e5f692
This repository implements the proposal outlined here that enables communication between Mojo applications on different devices.
make build
ANDROID=1 make build
The commands above build the .mojo
shared library that can be run by mojo shells. For example:
make start-v23proxy
HOME=/tmp make ARGS="{see Makefile}" start-echo-client
You can also run these with Android devices. Use an ANDROID={N}
prefix to run on the Nth
Android device connected to your machine. N
must be a positive integer.
Note: To run these examples, the devices used must run mojo_shell on the same local network.