diff --git a/assets/profiles/many-calls-client.png b/assets/profiles/many-calls-client.png new file mode 100644 index 00000000..112f07a5 Binary files /dev/null and b/assets/profiles/many-calls-client.png differ diff --git a/assets/profiles/many-calls-server.png b/assets/profiles/many-calls-server.png new file mode 100644 index 00000000..d3cb5792 Binary files /dev/null and b/assets/profiles/many-calls-server.png differ diff --git a/assets/profiles/many-connections-100000-client.png b/assets/profiles/many-connections-100000-client.png new file mode 100644 index 00000000..e3018efb Binary files /dev/null and b/assets/profiles/many-connections-100000-client.png differ diff --git a/assets/profiles/many-connections-100000-server.png b/assets/profiles/many-connections-100000-server.png new file mode 100644 index 00000000..f3c18dcf Binary files /dev/null and b/assets/profiles/many-connections-100000-server.png differ diff --git a/assets/profiles/many-messages-client.png b/assets/profiles/many-messages-client.png new file mode 100644 index 00000000..cad307c2 Binary files /dev/null and b/assets/profiles/many-messages-client.png differ diff --git a/assets/profiles/many-messages-server.png b/assets/profiles/many-messages-server.png new file mode 100644 index 00000000..1404444f Binary files /dev/null and b/assets/profiles/many-messages-server.png differ diff --git a/grapesy/README.md b/grapesy/README.md index f62da4f0..7d625a67 100644 --- a/grapesy/README.md +++ b/grapesy/README.md @@ -96,8 +96,93 @@ did not consider them any further. The full list is: ## Memory profiles -TODO +Screenshots of the "Area Chart" display of the +[`eventlog2html`](https://github.com/mpickering/eventlog2html) output for +selected RPC communication patterns. + +### Many connections + +Client opens many connections and does a single non-streaming RPC. + +Client profile: + +![Client many connections +profile](../assets/profiles/many-connections-100000-client.png) + +Server profile: + +![Server many connections +profile](../assets/profiles/many-connections-100000-server.png) + +### Many calls + +Client opens a single connection and does many RPCs. + +Client profile: + +![Client many connections +profile](../assets/profiles/many-calls-client.png) + +Server profile: + +![Server many connections +profile](../assets/profiles/many-calls-server.png) + +### Many messages + +Client opens a single connection and does a single RPC that sends many messages. + +Client profile: + +![Client many connections +profile](../assets/profiles/many-messages-client.png) + +Server profile: + +![Server many connections +profile](../assets/profiles/many-messages-server.png) ## Benchmarks -TODO \ No newline at end of file +
Run type | +Linux (RPCs/s) | +OSX (RPCs/s) | +||
+ | Grapesy | +Java | +Grapesy | +Java | +
sequential protobuf | +4654.500 | +7169.283 | +2919.783 | +1907.350 | +
concurrent protobuf | +3326.283 | +10908.650 | +5032.950 | +4571.750 | +
sequential json | +2371.233 | +2427.900 | +909.417 | +1574.817 | +
concurrent json | +3019.733 | +6143.567 | +1151.017 | +3563.867 | +