Skip to content

zix ws entry#997

Draft
prothegee wants to merge 8 commits into
MDA2AV:mainfrom
prothegee:zix-ws
Draft

zix ws entry#997
prothegee wants to merge 8 commits into
MDA2AV:mainfrom
prothegee:zix-ws

Conversation

@prothegee

Copy link
Copy Markdown
Contributor

Description

zix entry for ws using 0.5.x-rc1

Update:

  • Adding tweak buffer.

Checklist:

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

@prothegee

Copy link
Copy Markdown
Contributor Author

Somehow after a few minute, download url still fail.
image

@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.

@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,213,374 6259.0% 187MiB NEW NEW
echo-ws 4096 4,443,707 6431.0% 221MiB NEW NEW
echo-ws 16384 4,290,998 6405.7% 401MiB NEW NEW
echo-ws-pipeline 512 60,626,664 6360.2% 180MiB NEW NEW
echo-ws-pipeline 4096 66,133,689 6418.6% 223MiB NEW NEW
echo-ws-pipeline 16384 61,784,654 6405.0% 401MiB NEW NEW
Full log
  Latency samples: 295970163 / 295869427 responses (100.0%)
[info] CPU 6352.4% | Mem 184MiB

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


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency    134us    128us    188us    293us    438us

  303133325 frames sent in 5.00s, 303133324 frames received
  Throughput: 60.61M req/s
  Bandwidth:  404.59MB/s
  WS upgrades: 512
  WS frames:   303133325
  Latency samples: 303219095 / 303133324 responses (100.0%)

  WARNING: 18446744073709551615/303133324 responses (6085356710471.6%) had unexpected status (expected 2xx)
[info] CPU 6360.2% | Mem 180MiB

=== Best: 60626664 req/s (CPU: 6360.2%, Mem: 180MiB) ===
[info] saved results/echo-ws-pipeline/512/zix-ws.json
httparena-bench-zix-ws
httparena-bench-zix-ws

==============================================
=== zix-ws / echo-ws-pipeline / 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:  16
  Req/conn:  unlimited (keep-alive)
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency    990us    956us   1.15ms   2.03ms   2.67ms

  327535546 frames sent in 5.00s, 327473082 frames received
  Throughput: 65.47M req/s
  Bandwidth:  437.15MB/s
  WS upgrades: 4096
  WS frames:   327473082
  Latency samples: 327473082 / 327473082 responses (100.0%)
[info] CPU 6105.9% | Mem 236MiB

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


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency    990us    957us   1.14ms   2.00ms   2.63ms

  330668448 frames sent in 5.00s, 330668448 frames received
  Throughput: 66.11M req/s
  Bandwidth:  441.34MB/s
  WS upgrades: 4096
  WS frames:   330668448
  Latency samples: 330667534 / 330668448 responses (100.0%)
[info] CPU 6418.6% | Mem 223MiB

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


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   1.00ms    973us   1.14ms   2.03ms   2.43ms

  327442985 frames sent in 5.00s, 327467363 frames received
  Throughput: 65.47M req/s
  Bandwidth:  437.00MB/s
  WS upgrades: 4096
  WS frames:   327467363
  Latency samples: 327441656 / 327467363 responses (100.0%)
[info] CPU 6287.6% | Mem 219MiB

=== Best: 66133689 req/s (CPU: 6418.6%, Mem: 223MiB) ===
[info] saved results/echo-ws-pipeline/4096/zix-ws.json
httparena-bench-zix-ws
httparena-bench-zix-ws

==============================================
=== zix-ws / echo-ws-pipeline / 16384c (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:     16384 (256/thread)
  Pipeline:  16
  Req/conn:  unlimited (keep-alive)
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   5.19ms   4.48ms   7.84ms   8.69ms   12.10ms

  236281258 frames sent in 5.00s, 236019114 frames received
  Throughput: 47.19M req/s
  Bandwidth:  315.43MB/s
  WS upgrades: 16384
  WS frames:   236019114
  Latency samples: 236019114 / 236019114 responses (100.0%)
[info] CPU 5558.9% | Mem 440MiB

[run 2/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.09ms   4.51ms   8.40ms   9.76ms

  309185418 frames sent in 5.00s, 308923274 frames received
  Throughput: 61.76M req/s
  Bandwidth:  412.70MB/s
  WS upgrades: 16384
  WS frames:   308923274
  Latency samples: 308923274 / 308923274 responses (100.0%)
[info] CPU 6405.0% | Mem 401MiB

[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   5.53ms   4.79ms   7.86ms   8.57ms   11.90ms

  235453380 frames sent in 5.00s, 235191236 frames received
  Throughput: 46.99M req/s
  Bandwidth:  314.12MB/s
  WS upgrades: 16384
  WS frames:   235191236
  Latency samples: 235191236 / 235191236 responses (100.0%)
[info] CPU 6120.2% | Mem 429MiB

=== Best: 61784654 req/s (CPU: 6405.0%, Mem: 401MiB) ===
[info] saved results/echo-ws-pipeline/16384/zix-ws.json
httparena-bench-zix-ws
httparena-bench-zix-ws
[info] rebuilding site/data/*.json
[purged stale] echo-ws-16384.json: ['zix-ws']
[purged stale] echo-ws-4096.json: ['zix-ws']
[purged stale] echo-ws-512.json: ['zix-ws']
[purged stale] echo-ws-pipeline-16384.json: ['zix-ws']
[purged stale] echo-ws-pipeline-4096.json: ['zix-ws']
[purged stale] echo-ws-pipeline-512.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/echo-ws-16384.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/echo-ws-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/echo-ws-512.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/echo-ws-pipeline-16384.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/echo-ws-pipeline-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/echo-ws-pipeline-512.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/current.json
[info] done
[info] restoring loopback MTU to 65536

@prothegee
prothegee marked this pull request as draft July 15, 2026 20:09
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