Skip to content

Commit d0bc86c

Browse files
committed
docs: add rpc-benchmark-results
1 parent 520114f commit d0bc86c

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed

Samples.sln

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{01FE6776-E788-46B2-93E4-1CEDB01AA851}"
4+
ProjectSection(SolutionItems) = preProject
5+
docs\rpc-benchmark-results.txt = docs\rpc-benchmark-results.txt
6+
docs\index.md = docs\index.md
7+
EndProjectSection
48
EndProject
59
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{B5A8469D-C4BB-4808-8E44-FF4DFCA57BDE}"
610
ProjectSection(SolutionItems) = preProject

docs/rpc-benchmark-results.txt

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
Run w/ default settings:
2+
3+
System-wide settings:
4+
Thread pool settings: 48+ worker, 48+ I/O threads
5+
ByteSerializer.Default: MessagePack
6+
Starting server @ https://localhost:22444/
7+
Client settings:
8+
Server URL: https://localhost:22444/
9+
Test plan: 5.00s warmup, 4 x 5.00s runs
10+
Total worker count: 14400
11+
Client concurrency: 120
12+
Client count: 120
13+
14+
Stl.Rpc:
15+
Sum : 2.67M 3.14M 3.30M 3.19M -> 3.30M calls/s
16+
GetUser : 2.66M 2.59M 2.64M 2.65M -> 2.66M calls/s
17+
SayHello : 1.75M 1.74M 1.75M 1.72M -> 1.75M calls/s
18+
SignalR:
19+
Sum : 2.75M 2.73M 2.74M 2.69M -> 2.75M calls/s
20+
GetUser : 2.39M 2.36M 2.32M 2.34M -> 2.39M calls/s
21+
SayHello : 1.22M 1.21M 1.19M 1.17M -> 1.22M calls/s
22+
StreamJsonRpc:
23+
Sum : 227.85K 224.79K 249.84K 228.25K -> 249.84K calls/s
24+
GetUser : 183.93K 181.97K 182.24K 182.15K -> 183.93K calls/s
25+
SayHello : 58.83K 59.15K 59.04K 59.10K -> 59.15K calls/s
26+
MagicOnion:
27+
Sum : 125.88K 120.66K 119.31K 122.00K -> 125.88K calls/s
28+
GetUser : 128.26K 129.67K 125.56K 127.15K -> 129.67K calls/s
29+
SayHello : 125.15K 125.76K 123.67K 119.70K -> 125.76K calls/s
30+
gRPC:
31+
Sum : 128.28K 127.80K 121.23K 122.44K -> 128.28K calls/s
32+
GetUser : 126.51K 127.30K 126.23K 128.52K -> 128.52K calls/s
33+
SayHello : 124.50K 124.58K 125.11K 123.18K -> 125.11K calls/s
34+
HTTP:
35+
Sum : 146.10K 150.21K 147.05K 147.35K -> 150.21K calls/s
36+
GetUser : 148.69K 143.76K 151.10K 143.60K -> 151.10K calls/s
37+
SayHello : 136.11K 137.46K 134.38K 135.96K -> 137.46K calls/s
38+
39+
Run w/ the best settings for gRPC and MagicOnion (test -cc 1000 -b grpc,mo):
40+
41+
System-wide settings:
42+
Thread pool settings: 48+ worker, 48+ I/O threads
43+
ByteSerializer.Default: MessagePack
44+
Starting server @ https://localhost:22444/
45+
Client settings:
46+
Server URL: https://localhost:22444/
47+
Test plan: 5.00s warmup, 4 x 5.00s runs
48+
Total worker count: 14400
49+
Client concurrency: 1000
50+
Client count: 15
51+
52+
gRPC:
53+
Sum : 105.63K 174.80K 187.04K 186.30K -> 187.04K calls/s
54+
GetUser : 185.31K 183.92K 183.93K 184.95K -> 185.31K calls/s
55+
SayHello : 180.07K 175.79K 181.53K 177.62K -> 181.53K calls/s
56+
MagicOnion:
57+
Sum : 180.95K 179.12K 178.14K 181.35K -> 181.35K calls/s
58+
GetUser : 175.71K 173.05K 173.18K 172.31K -> 175.71K calls/s
59+
SayHello : 167.32K 165.32K 169.15K 169.25K -> 169.25K calls/s

0 commit comments

Comments
 (0)