Skip to content

Missing Bench Result: zix-ws (re-entry) - #1221

Open
prothegee wants to merge 20 commits into
MDA2AV:mainfrom
prothegee:zix-ws
Open

Missing Bench Result: zix-ws (re-entry)#1221
prothegee wants to merge 20 commits into
MDA2AV:mainfrom
prothegee:zix-ws

Conversation

@prothegee

@prothegee prothegee commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Zix http1 websocket re-entry using 0.5.0 branch.

Checklist:

  • /benchmark -f zix-ws
  • /benchmark -f zix-ws --save

This pull-request also as a follow-up & check from:

@prothegee

Copy link
Copy Markdown
Contributor Author

/benchmark -f zix-ws

@github-actions

Copy link
Copy Markdown
Contributor

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

@MDA2AV

MDA2AV commented Aug 21, 2026

Copy link
Copy Markdown
Owner

/benchmark -f zix-ws --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: zix-ws | Test: all tests

Test Conn RPS CPU Mem Δ RPS Δ Mem
echo-ws 512 4,393,637 6426.5% 208MiB NEW NEW
echo-ws 4096 4,575,698 6268.9% 248MiB NEW NEW
echo-ws 16384 4,294,811 6171.1% 498MiB NEW NEW
echo-ws-pipeline 512 61,158,425 6247.8% 210MiB NEW NEW
echo-ws-pipeline 4096 67,275,748 6428.3% 252MiB NEW NEW
echo-ws-pipeline 16384 61,585,277 6117.6% 503MiB NEW NEW
echo-ws-limited 512 2,263,092 5345.9% 176MiB NEW NEW
echo-ws-limited 4096 2,600,418 5889.4% 284MiB NEW NEW
Full log
  300692578 frames sent in 5.00s, 300430434 frames received
  Throughput: 60.06M req/s
  Bandwidth:  401.33MB/s
  WS upgrades: 16384
  WS frames:   300430434
  Latency samples: 300430434 / 300430434 responses (100.0%)
[info] CPU 6397.7% | Mem 491MiB

[run 3/3]
gcannon v0.5.3 [WS]
  Target:    localhost:8080/ws
  Threads:   64
  Conns:     16384 (256/thread)
  Pipeline:  16
  Req/conn:  unlimited (keep-alive)
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   4.22ms   4.08ms   4.58ms   8.42ms   9.85ms

  308188532 frames sent in 5.00s, 307926388 frames received
  Throughput: 61.57M req/s
  Bandwidth:  411.40MB/s
  WS upgrades: 16384
  WS frames:   307926388
  Latency samples: 307926388 / 307926388 responses (100.0%)
[info] CPU 6117.6% | Mem 503MiB

=== Best: 61585277 req/s (CPU: 6117.6%, Mem: 503MiB) ===
[info] saved results/echo-ws-pipeline/16384/zix-ws.json
httparena-bench-zix-ws
httparena-bench-zix-ws

==============================================
=== zix-ws / echo-ws-limited / 512c (tool=gcannon) ===
==============================================
[info] ws-only framework — skipping HTTP probe (sleep 2s for startup)

[run 1/3]
gcannon v0.5.3 [WS]
  Target:    localhost:8080/ws
  Threads:   64
  Conns:     512 (8/thread)
  Pipeline:  1
  Req/conn:  10
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency    111us     93us    198us    342us    627us

  11177402 frames sent in 5.00s, 11177531 frames received
  Throughput: 2.23M req/s
  Bandwidth:  42.42MB/s
  WS upgrades: 1131894
  WS frames:   11177531
  Latency samples: 11177478 / 11177531 responses (100.0%)
  Reconnects: 1117821
[info] CPU 5154.6% | Mem 178MiB

[run 2/3]
gcannon v0.5.3 [WS]
  Target:    localhost:8080/ws
  Threads:   64
  Conns:     512 (8/thread)
  Pipeline:  1
  Req/conn:  10
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency    114us     96us    200us    345us    674us

  11315345 frames sent in 5.00s, 11315464 frames received
  Throughput: 2.26M req/s
  Bandwidth:  42.94MB/s
  WS upgrades: 1146972
  WS frames:   11315464
  Latency samples: 11315421 / 11315464 responses (100.0%)
  Reconnects: 1131608
[info] CPU 5345.9% | Mem 176MiB

[run 3/3]
gcannon v0.5.3 [WS]
  Target:    localhost:8080/ws
  Threads:   64
  Conns:     512 (8/thread)
  Pipeline:  1
  Req/conn:  10
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency    111us     93us    196us    342us    666us

  11205310 frames sent in 5.00s, 11205443 frames received
  Throughput: 2.24M req/s
  Bandwidth:  42.52MB/s
  WS upgrades: 1137287
  WS frames:   11205443
  Latency samples: 11205397 / 11205443 responses (100.0%)
  Reconnects: 1120601
[info] CPU 5200.2% | Mem 178MiB

=== Best: 2263092 req/s (CPU: 5345.9%, Mem: 176MiB) ===
[info] saved results/echo-ws-limited/512/zix-ws.json
httparena-bench-zix-ws
httparena-bench-zix-ws

==============================================
=== zix-ws / echo-ws-limited / 4096c (tool=gcannon) ===
==============================================
[info] ws-only framework — skipping HTTP probe (sleep 2s for startup)

[run 1/3]
gcannon v0.5.3 [WS]
  Target:    localhost:8080/ws
  Threads:   64
  Conns:     4096 (64/thread)
  Pipeline:  1
  Req/conn:  10
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   1.04ms   1.07ms   1.35ms   1.71ms   2.21ms

  12889467 frames sent in 5.00s, 12886707 frames received
  Throughput: 2.58M req/s
  Bandwidth:  48.95MB/s
  WS upgrades: 1290856
  WS frames:   12886707
  Latency samples: 12886707 / 12886707 responses (100.0%)
  Reconnects: 1287419
[info] CPU 5607.4% | Mem 285MiB

[run 2/3]
gcannon v0.5.3 [WS]
  Target:    localhost:8080/ws
  Threads:   64
  Conns:     4096 (64/thread)
  Pipeline:  1
  Req/conn:  10
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   1.02ms   1.06ms   1.33ms   1.74ms   2.10ms

  13001898 frames sent in 5.00s, 13002091 frames received
  Throughput: 2.60M req/s
  Bandwidth:  49.36MB/s
  WS upgrades: 1313016
  WS frames:   13002091
  Latency samples: 13002062 / 13002091 responses (100.0%)
  Reconnects: 1300814
[info] CPU 5889.4% | Mem 284MiB

[run 3/3]
gcannon v0.5.3 [WS]
  Target:    localhost:8080/ws
  Threads:   64
  Conns:     4096 (64/thread)
  Pipeline:  1
  Req/conn:  10
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   1.04ms   1.08ms   1.36ms   1.74ms   2.08ms

  12963905 frames sent in 5.00s, 12962717 frames received
  Throughput: 2.59M req/s
  Bandwidth:  49.21MB/s
  WS upgrades: 1303312
  WS frames:   12962717
  Latency samples: 12962686 / 12962717 responses (100.0%)
  Reconnects: 1295493
[info] CPU 5730.9% | Mem 277MiB

=== Best: 2600418 req/s (CPU: 5889.4%, Mem: 284MiB) ===
[info] saved results/echo-ws-limited/4096/zix-ws.json
httparena-bench-zix-ws
httparena-bench-zix-ws
[info] rebuilding site/data/*.json
[purged stale] zix-grpc.json (zix-grpc)
[purged stale] zix-ws.json (zix-ws)
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/frameworks.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/results/zix.json - 8 new, 31 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.

2 participants