Skip to content

[WTX] Add support for streams TLS (gRPC) - #1062

Open
c410-f3r wants to merge 2 commits into
MDA2AV:mainfrom
c410-f3r:grpc-tls
Open

[WTX] Add support for streams TLS (gRPC)#1062
c410-f3r wants to merge 2 commits into
MDA2AV:mainfrom
c410-f3r:grpc-tls

Conversation

@c410-f3r

Copy link
Copy Markdown
Contributor

Description

Also removes the callback that was generating logs in #1055

@c410-f3r

c410-f3r commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

/benchmark -f wtx-grpc-tls --save

@github-actions

Copy link
Copy Markdown
Contributor

👋 /benchmark request received. A collaborator will review and approve the run.

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark Results

Framework: wtx-grpc-tls | Test: all tests

Test Conn RPS CPU Mem Δ RPS Δ Mem
unary-grpc-tls 256 2,304,255 6118.9% 1.8GiB -4.4% +240.1%
unary-grpc-tls 1024 2,145,955 5740.2% 2.8GiB -9.5% +217.2%
Full log

38.
TLS Protocol: TLSv1.3
Cipher: TLS_AES_128_GCM_SHA256
Server Temp Key: X25519 253 bits
Application protocol: h2
..Main benchmark duration is started for thread #32.

47.
31.
14. Stopping all clients.


finished in 5.04s, 2012894.60 req/s, 86.39MB/s
requests: 10064473 total, 10090073 started, 10064473 done, 10064473 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 10064497 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 431.94MB (452919013) total, 259.15MB (271741131) headers (space savings 46.00%), 0B (0) data
                     min         max         mean         sd        +/- sd
time for request:      337us    463.05ms     16.71ms     27.63ms    93.78%
time for connect:     1.71ms     64.56ms     20.46ms     12.32ms    69.14%
time to 1st byte:    33.05ms    468.82ms    175.88ms     87.74ms    57.42%
req/s           :    3708.14    26481.51     7860.80     4080.04    89.84%
[info] CPU 4731.9% | Mem 1.7GiB

[run 2/3]
starting benchmark...
TLS Protocol: TLSv1.3
Cipher: TLS_AES_128_GCM_SHA256
Server Temp Key: X25519 253 bits
Application protocol: h2
37.



finished in 5.04s, 2221181.80 req/s, 95.33MB/s
requests: 11105909 total, 11131509 started, 11105909 done, 11105909 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 11105935 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 476.63MB (499783681) total, 285.97MB (299859933) headers (space savings 46.00%), 0B (0) data
                     min         max         mean         sd        +/- sd
time for request:      391us    291.24ms     12.04ms     10.29ms    94.85%
time for connect:     2.76ms     30.92ms     13.65ms      5.86ms    58.59%
time to 1st byte:    11.75ms    252.44ms     31.62ms     25.65ms    93.75%
req/s           :    4099.21    32041.89     8673.67     4850.57    91.41%
[info] CPU 5970.6% | Mem 1.7GiB

[run 3/3]
starting benchmark...
23.
TLS Protocol: TLSv1.3
Cipher: TLS_AES_128_GCM_SHA256
Server Temp Key: X25519 253 bits
Application protocol: h2
51.

60. Stopping all clients.Stopped all clients for thread #39


finished in 5.04s, 2322685.40 req/s, 99.68MB/s
requests: 11613427 total, 11639027 started, 11613427 done, 11613427 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 11613448 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 498.41MB (522621871) total, 299.04MB (313562844) headers (space savings 46.00%), 0B (0) data
                     min         max         mean         sd        +/- sd
time for request:      402us    169.50ms     10.84ms      6.58ms    79.15%
time for connect:     3.29ms     26.97ms     13.75ms      6.02ms    60.55%
time to 1st byte:     7.92ms    119.23ms     26.57ms      9.89ms    89.84%
req/s           :    3479.66    29632.52     9070.21     4498.61    78.13%
[info] CPU 6118.9% | Mem 1.8GiB

=== Best: 2304255 req/s (CPU: 6118.9%, Mem: 1.8GiB) ===
[info] saved results/unary-grpc-tls/256/wtx-grpc-tls.json
httparena-bench-wtx-grpc-tls
httparena-bench-wtx-grpc-tls

==============================================
=== wtx-grpc-tls / unary-grpc-tls / 1024c (tool=h2load) ===
==============================================
[info] waiting for server...
[info] gRPC server ready

[run 1/3]
starting benchmark...
25Main benchmark duration is started for thread #15.
.


27.
23.
.Warm-up phase is over for thread #59.

.Main benchmark duration is started for thread #26.

.
progress: Warm-up phase is over for thread #6218.% of clients started

.Main benchmark duration is started for thread #60.

.Main benchmark duration is started for thread #46.


TLS Protocol: TLSv1.3
Cipher: TLS_AES_128_GCM_SHA256
Server Temp Key: X25519 253 bits
Application protocol: h2
12. Stopping all clients.

24. Stopping all clients.Stopped all clients for thread #
50Stopped all clients for thread #24

. Stopping all clients.

finished in 5.06s, 1703833.00 req/s, 73.13MB/s
requests: 8519165 total, 8621565 started, 8519165 done, 8519165 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 8519191 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 365.67MB (383431657) total, 219.36MB (230017845) headers (space savings 46.00%), 0B (0) data
                     min         max         mean         sd        +/- sd
time for request:     1.12ms    984.79ms     85.62ms    129.61ms    90.65%
time for connect:     3.28ms    310.84ms     79.68ms     68.73ms    84.18%
time to 1st byte:     5.30ms       1.12s    618.66ms    256.82ms    62.70%
req/s           :     988.16     7711.33     1662.68      602.61    86.62%
[info] CPU 4556.8% | Mem 2.7GiB

[run 2/3]
starting benchmark...



60.
54.
TLS Protocol: TLSv1.3
Cipher: TLS_AES_128_GCM_SHA256
Server Temp Key: X25519 253 bits
Application protocol: h2
19.
6. Stopping all clients.
. Stopping all clients.

17. Stopping all clients.

finished in 5.07s, 2166154.80 req/s, 92.97MB/s
requests: 10830774 total, 10933174 started, 10830774 done, 10830774 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 10830794 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 464.87MB (487453918) total, 278.88MB (292431198) headers (space savings 46.00%), 0B (0) data
                     min         max         mean         sd        +/- sd
time for request:      458us       1.44s     48.04ms     35.96ms    90.67%
time for connect:     4.19ms    144.64ms     52.91ms     31.86ms    57.81%
time to 1st byte:    29.00ms    610.99ms    142.32ms     99.26ms    86.33%
req/s           :    1137.37     6179.20     2113.80      615.95    73.14%
[info] CPU 6422.4% | Mem 2.6GiB

[run 3/3]
starting benchmark...
46.
12.
.
% of clients started
36Warm-up phase is over for thread #.55.


10.
40Warm-up phase is over for thread #.31
.Warm-up phase is over for thread #.35.


.
TLS Protocol: TLSv1.3
Cipher: TLS_AES_128_GCM_SHA256
Server Temp Key: X25519 253 bits
Application protocol: h2
.
.
.
35. Stopping all clients.


finished in 5.07s, 2175994.00 req/s, 93.40MB/s
requests: 10879970 total, 10982370 started, 10879970 done, 10879970 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 10879995 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 466.98MB (489667858) total, 280.15MB (293759565) headers (space savings 46.00%), 0B (0) data
                     min         max         mean         sd        +/- sd
time for request:      737us       1.16s     46.24ms     32.48ms    87.20%
time for connect:     4.01ms    116.15ms     50.82ms     30.77ms    56.05%
time to 1st byte:    30.05ms    299.56ms    108.58ms     33.63ms    79.98%
req/s           :    1119.38     5376.34     2123.37      565.75    74.51%
[info] CPU 5740.2% | Mem 2.8GiB

=== Best: 2145955 req/s (CPU: 5740.2%, Mem: 2.8GiB) ===
[info] saved results/unary-grpc-tls/1024/wtx-grpc-tls.json
httparena-bench-wtx-grpc-tls
httparena-bench-wtx-grpc-tls
[info] skip: wtx-grpc-tls does not subscribe to stream-grpc
[info] skip: wtx-grpc-tls does not subscribe to stream-grpc-tls
[info] skip: wtx-grpc-tls does not subscribe to echo-ws
[info] skip: wtx-grpc-tls does not subscribe to echo-ws-pipeline
[info] skip: wtx-grpc-tls does not subscribe to echo-ws-limited
[info] rebuilding site/data/*.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/frameworks.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/results/wtx.json - 2 new, 17 total
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/current.json
[info] done
[info] restoring loopback MTU to 65536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant