Skip to content

[rails] Remove unused server header#722

Merged
MDA2AV merged 1 commit into
MDA2AV:mainfrom
p8:rails/remove-server-header
May 18, 2026
Merged

[rails] Remove unused server header#722
MDA2AV merged 1 commit into
MDA2AV:mainfrom
p8:rails/remove-server-header

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 rails --save

@github-actions
Copy link
Copy Markdown
Contributor

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

@MDA2AV
Copy link
Copy Markdown
Owner

MDA2AV commented May 18, 2026

/benchmark -f rails --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 --save cannot start: main has diverged and cannot be auto-merged into this branch. Please merge or rebase main manually, push, and re-run /benchmark --save.

@p8 p8 force-pushed the rails/remove-server-header branch from b986d67 to 4256b7a Compare May 18, 2026 11:57
@p8
Copy link
Copy Markdown
Contributor Author

p8 commented May 18, 2026

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

Test Conn RPS CPU Mem Δ RPS Δ Mem
baseline 512 76,065 5609.4% 6.6GiB +27.5% +1.5%
baseline 4096 34,563 5013.2% 6.5GiB +10.8% +4.8%
pipelined 512 307,631 6474.8% 2.2GiB -2.3% -12.0%
pipelined 4096 291,909 6499.1% 2.2GiB -7.0% -15.4%
limited-conn 512 27,586 4554.5% 5.2GiB -0.6% -13.3%
limited-conn 4096 27,379 4618.6% 5.7GiB -1.2% -6.6%
json 4096 121,739 6423.5% 3.6GiB -0.8% -18.2%
json-comp 512 81,027 6419.7% 3.0GiB -4.2% -25.0%
json-comp 4096 82,945 6420.8% 4.4GiB -1.4% +7.3%
json-comp 16384 82,480 6471.1% 4.0GiB -0.3% -7.0%
json-tls 4096 114,385 6528.0% 4.0GiB +3.5% -2.4%
upload 32 934 3149.5% 9.7GiB +0.1% -11.0%
upload 256 882 6528.1% 7.3GiB -1.7% +1.4%
api-4 256 9,858 394.0% 304MiB -2.8% -20.2%
api-16 1024 25,344 1731.5% 895MiB -2.3% -20.5%
static 1024 124,509 6508.0% 6.1GiB +4.5% -14.1%
static 4096 121,075 6502.1% 5.9GiB +0.9% -34.4%
static 6800 120,071 6441.9% 5.9GiB -1.4% -37.2%
async-db 1024 69,966 6399.0% 2.9GiB +2.7% -3.3%
Full log
[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    32.29ms    8.68ms 299.39ms   81.72%
    Req/Sec     1.91k   468.42     8.59k    89.54%
  618039 requests in 5.10s, 9.48GB read
Requests/sec: 121075.36
Transfer/sec:      1.86GB
[info] CPU 6502.1% | Mem 5.9GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    32.97ms    9.66ms 277.49ms   84.56%
    Req/Sec     1.86k   458.65     8.04k    87.20%
  604069 requests in 5.10s, 9.26GB read
Requests/sec: 118437.10
Transfer/sec:      1.82GB
[info] CPU 6474.6% | Mem 5.9GiB

=== Best: 121075 req/s (CPU: 6502.1%, Mem: 5.9GiB) ===
[info] saved results/static/4096/rails.json
httparena-bench-rails
httparena-bench-rails

==============================================
=== rails / 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    55.31ms   34.84ms 575.43ms   92.17%
    Req/Sec     1.80k   786.99     4.82k    79.97%
  573952 requests in 5.11s, 8.80GB read
Requests/sec: 112246.84
Transfer/sec:      1.72GB
[info] CPU 6392.5% | Mem 6.0GiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    51.89ms   19.60ms 388.27ms   83.77%
    Req/Sec     1.87k   678.16     8.00k    80.07%
  607048 requests in 5.11s, 9.31GB read
Requests/sec: 118903.45
Transfer/sec:      1.82GB
[info] CPU 6502.0% | Mem 5.8GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    51.69ms   19.79ms 368.38ms   85.38%
    Req/Sec     1.89k   679.84     9.27k    80.29%
  612389 requests in 5.10s, 9.39GB read
Requests/sec: 120071.75
Transfer/sec:      1.84GB
[info] CPU 6441.9% | Mem 5.9GiB

=== Best: 120071 req/s (CPU: 6441.9%, Mem: 5.9GiB) ===
[info] saved results/static/6800/rails.json
httparena-bench-rails
httparena-bench-rails

==============================================
=== rails / 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   14.42ms   13.60ms   21.10ms   32.50ms   227.60ms

  679135 requests in 10.00s, 679138 responses
  Throughput: 67.90K req/s
  Bandwidth:  282.21MB/s
  Status codes: 2xx=679138, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 679138 / 679138 responses (100.0%)
  Reconnects: 26695
  Per-template: 135322,135917,136503,136071,135325
  Per-template-ok: 135322,135917,136503,136071,135325
[info] CPU 6324.9% | Mem 2.8GiB

[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   14.04ms   13.80ms   21.10ms   30.40ms   53.20ms

  699662 requests in 10.00s, 699663 responses
  Throughput: 69.94K req/s
  Bandwidth:  290.77MB/s
  Status codes: 2xx=699663, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 699660 / 699663 responses (100.0%)
  Reconnects: 27698
  Per-template: 139490,140036,140319,140179,139636
  Per-template-ok: 139490,140036,140319,140179,139636
[info] CPU 6399.0% | Mem 2.9GiB

[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   14.00ms   13.80ms   21.60ms   29.90ms   49.60ms

  695294 requests in 10.00s, 695295 responses
  Throughput: 69.50K req/s
  Bandwidth:  289.20MB/s
  Status codes: 2xx=695295, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 695295 / 695295 responses (100.0%)
  Reconnects: 27536
  Per-template: 138337,138947,139644,139419,138948
  Per-template-ok: 138337,138947,139644,139419,138948
[info] CPU 6411.6% | Mem 2.9GiB

=== Best: 69966 req/s (CPU: 6399.0%, Mem: 2.9GiB) ===
[info] input BW: 4.67MB/s (avg template: 70 bytes)
[info] saved results/async-db/1024/rails.json
httparena-bench-rails
httparena-bench-rails
[info] skip: rails does not subscribe to crud
[info] skip: rails does not subscribe to fortunes
[info] skip: rails does not subscribe to baseline-h2
[info] skip: rails does not subscribe to static-h2
[info] skip: rails does not subscribe to baseline-h2c
[info] skip: rails does not subscribe to json-h2c
[info] skip: rails does not subscribe to baseline-h3
[info] skip: rails does not subscribe to static-h3
[info] skip: rails does not subscribe to gateway-64
[info] skip: rails does not subscribe to gateway-h3
[info] skip: rails does not subscribe to production-stack
[info] skip: rails does not subscribe to unary-grpc
[info] skip: rails does not subscribe to unary-grpc-tls
[info] skip: rails does not subscribe to stream-grpc
[info] skip: rails does not subscribe to stream-grpc-tls
[info] skip: rails does not subscribe to echo-ws
[info] skip: rails 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/json-tls-4096.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

@p8 p8 force-pushed the rails/remove-server-header branch from 6eaf04c to 0964c83 Compare May 18, 2026 12:18
@MDA2AV MDA2AV merged commit 12b1aa7 into MDA2AV:main May 18, 2026
4 checks passed
@p8 p8 deleted the rails/remove-server-header branch May 18, 2026 12:55
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