Skip to content

[rage] Use constant for rack.input string#731

Open
p8 wants to merge 1 commit into
MDA2AV:mainfrom
p8:rage/rack-input-constant
Open

[rage] Use constant for rack.input string#731
p8 wants to merge 1 commit into
MDA2AV:mainfrom
p8:rage/rack-input-constant

Conversation

@p8
Copy link
Copy Markdown
Contributor

@p8 p8 commented May 18, 2026

No description provided.

@p8
Copy link
Copy Markdown
Contributor Author

p8 commented May 18, 2026

/benchmark -f rage

@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: rage | Test: all tests

Test Conn RPS CPU Mem Δ RPS Δ Mem
baseline 512 433,828 5272.5% 4.7GiB -35.4% ~0%
baseline 4096 61,266 4822.6% 4.4GiB +7.9% -4.3%
pipelined 512 982,076 6741.1% 4.2GiB -7.3% -8.7%
pipelined 4096 933,459 6516.4% 4.4GiB -7.2% -4.3%
limited-conn 512 54,412 4767.0% 4.7GiB +0.2% ~0%
limited-conn 4096 53,392 4691.2% 4.8GiB +2.5% ~0%
json 4096 396,464 6482.0% 5.8GiB +0.4% +5.5%
json-comp 512 189,043 6495.8% 5.6GiB -14.2% -1.8%
json-comp 4096 182,953 6399.5% 5.6GiB -12.7% ~0%
json-comp 16384 165,064 6611.3% 5.8GiB -10.7% -1.7%
upload 32 617 1625.2% 6.7GiB +1.8% +1.5%
upload 256 860 6187.8% 9.6GiB +1.2% -5.9%
api-4 256 14,019 407.0% 5.6GiB -6.9% +3.7%
api-16 1024 9,074 609.0% 5.7GiB -36.3% +3.6%
static 1024 985,451 6447.6% 3.6GiB +3.5% ~0%
static 4096 959,822 6434.5% 3.6GiB +3.5% -2.7%
static 6800 924,122 6469.3% 3.7GiB +1.9% ~0%
async-db 1024 84,105 6527.7% 14.0GiB -1.6% +5.3%
Full log
Transfer/sec:     15.97GB
[info] CPU 6625.7% | Mem 3.7GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.28ms    4.16ms 146.88ms   94.04%
    Req/Sec    15.78k     1.03k   20.99k    70.20%
  4802857 requests in 5.09s, 82.43GB read
Requests/sec: 944108.42
Transfer/sec:     16.20GB
[info] CPU 6696.7% | Mem 3.7GiB

=== Best: 959822 req/s (CPU: 6434.5%, Mem: 3.6GiB) ===
[info] saved results/static/4096/rage.json
httparena-bench-rage
httparena-bench-rage

==============================================
=== rage / static / 6800c (tool=wrk) ===
==============================================
[info] waiting for server...
[info] server ready

[run 1/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.07ms    3.46ms  65.93ms   66.09%
    Req/Sec    15.13k     1.47k   23.50k    82.47%
  4714588 requests in 5.10s, 80.91GB read
Requests/sec: 924122.97
Transfer/sec:     15.86GB
[info] CPU 6469.3% | Mem 3.7GiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.21ms    5.08ms 155.45ms   90.61%
    Req/Sec    15.24k     1.31k   38.65k    88.01%
  4376083 requests in 5.10s, 75.10GB read
Requests/sec: 857866.76
Transfer/sec:     14.72GB
[info] CPU 6623.9% | Mem 3.8GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.29ms    5.39ms 161.13ms   94.27%
    Req/Sec    15.16k   739.16    18.40k    70.35%
  4440904 requests in 5.10s, 76.22GB read
Requests/sec: 870755.93
Transfer/sec:     14.94GB
[info] CPU 6734.9% | Mem 3.9GiB

=== Best: 924122 req/s (CPU: 6469.3%, Mem: 3.7GiB) ===
[info] saved results/static/6800/rage.json
httparena-bench-rage
httparena-bench-rage

==============================================
=== rage / async-db / 1024c (tool=gcannon) ===
==============================================
[info] waiting for server...
[info] server ready

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


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   11.33ms   4.40ms   12.30ms   125.30ms    1.02s

  841142 requests in 10.00s, 841143 responses
  Throughput: 84.09K req/s
  Bandwidth:  344.63MB/s
  Status codes: 2xx=841056, 3xx=0, 4xx=0, 5xx=87
  Latency samples: 841143 / 841143 responses (100.0%)
  Latency overflow (>5s): 89
  Reconnects: 33326
  Per-template: 167551,168530,168703,168648,167711
  Per-template-ok: 167538,168509,168689,168634,167686

  WARNING: 87/841143 responses (0.0%) had unexpected status (expected 2xx)
[info] CPU 6527.7% | Mem 14.0GiB

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


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   11.49ms   4.90ms   12.70ms   141.50ms    1.02s

  840208 requests in 10.00s, 839355 responses
  Throughput: 83.92K req/s
  Bandwidth:  344.07MB/s
  Status codes: 2xx=839336, 3xx=0, 4xx=0, 5xx=19
  Latency samples: 839355 / 839355 responses (100.0%)
  Latency overflow (>5s): 19
  Reconnects: 33319
  Per-template: 167092,167989,168380,168442,167452
  Per-template-ok: 167089,167982,168379,168439,167447

  WARNING: 19/839355 responses (0.0%) had unexpected status (expected 2xx)
[info] CPU 6533.1% | Mem 18.0GiB

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


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   11.50ms   4.80ms   13.10ms   143.00ms    1.02s

  839756 requests in 10.00s, 838910 responses
  Throughput: 83.87K req/s
  Bandwidth:  343.91MB/s
  Status codes: 2xx=838895, 3xx=0, 4xx=0, 5xx=15
  Latency samples: 838910 / 838910 responses (100.0%)
  Latency overflow (>5s): 15
  Reconnects: 33284
  Per-template: 167077,167849,168236,168336,167412
  Per-template-ok: 167075,167846,168231,168333,167410

  WARNING: 15/838910 responses (0.0%) had unexpected status (expected 2xx)
[info] CPU 6551.3% | Mem 22.6GiB

=== Best: 84105 req/s (CPU: 6527.7%, Mem: 14.0GiB) ===
[info] input BW: 5.61MB/s (avg template: 70 bytes)
[info] saved results/async-db/1024/rage.json
httparena-bench-rage
httparena-bench-rage
[info] skip: rage does not subscribe to crud
[info] skip: rage does not subscribe to fortunes
[info] skip: rage does not subscribe to baseline-h2
[info] skip: rage does not subscribe to static-h2
[info] skip: rage does not subscribe to baseline-h2c
[info] skip: rage does not subscribe to json-h2c
[info] skip: rage does not subscribe to baseline-h3
[info] skip: rage does not subscribe to static-h3
[info] skip: rage does not subscribe to gateway-64
[info] skip: rage does not subscribe to gateway-h3
[info] skip: rage does not subscribe to production-stack
[info] skip: rage does not subscribe to unary-grpc
[info] skip: rage does not subscribe to unary-grpc-tls
[info] skip: rage does not subscribe to stream-grpc
[info] skip: rage does not subscribe to stream-grpc-tls
[info] skip: rage does not subscribe to echo-ws
[info] skip: rage does not subscribe to echo-ws-pipeline
[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/api-16-1024.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/api-4-256.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/async-db-1024.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/baseline-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/baseline-512.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/json-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/json-comp-16384.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/json-comp-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/json-comp-512.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/limited-conn-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/limited-conn-512.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/pipelined-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/pipelined-512.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/static-1024.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/static-4096.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/static-6800.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/upload-256.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/upload-32.json
[updated] /home/diogo/actions-runner/_work/HttpArena/HttpArena/site/data/current.json
[info] done
httparena-postgres
[info] restoring loopback MTU to 65536
[info] restoring CPU governor → powersave

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