Skip to content

[python] FastPySGI: update to v0.7#653

Draft
remittor wants to merge 2 commits intoMDA2AV:mainfrom
remittor-pr:fastpysgi-0.7
Draft

[python] FastPySGI: update to v0.7#653
remittor wants to merge 2 commits intoMDA2AV:mainfrom
remittor-pr:fastpysgi-0.7

Conversation

@remittor
Copy link
Copy Markdown
Contributor

PR Commands — comment on this PR to trigger (requires collaborator approval):

Command Description
/benchmark -f <framework> Run all benchmark tests
/benchmark -f <framework> -t <test> Run a specific test
/benchmark -f <framework> --save Run and save results (updates leaderboard on merge)

Always specify -f <framework>. Results are automatically compared against the current leaderboard.

@remittor
Copy link
Copy Markdown
Contributor Author

/benchmark -f fastpysgi-asgi

@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 Apr 26, 2026

/benchmark -f fastpysgi-asgi

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

Test Conn RPS CPU Mem Δ RPS Δ Mem
baseline 512 665,799 6833.3% 378MiB -20.1% -76.9%
baseline 4096 871,071 6755.6% 887MiB -14.3% -38.1%
pipelined 512 536,121 7189.4% 285MiB -59.8% +3.3%
limited-conn 4096 717,462 6814.8% 1.7GiB -11.0% -32.0%
json 4096 567,208 6701.9% 2.1GiB -10.2% -16.0%
json-comp 512 270,697 6640.3% 576MiB -10.3% -29.6%
json-comp 4096 321,403 6596.8% 1.8GiB -6.9% -10.0%
json-comp 16384 317,208 6661.5% 5.3GiB -6.1% -5.4%
json-tls 4096 496,746 6705.5% 737MiB -10.4% -48.6%
upload 32 1,924 6456.6% 2.1GiB +1.2% -8.7%
upload 256 1,599 6497.5% 4.4GiB -0.6% -12.0%
api-4 256 29,814 400.0% 319MiB -6.8% -18.0%
api-16 1024 71,258 1617.2% 894MiB -8.6% -32.8%
static 1024 774,964 6815.0% 430MiB -16.1% -65.0%
static 4096 870,962 6755.6% 378MiB -13.0% -73.6%
static 6800 870,272 6734.0% 1.2GiB -11.0% -14.3%
async-db 1024 130,482 6677.6% 1.2GiB -10.9% -29.4%
Full log
Requests/sec: 870962.15
Transfer/sec:     13.34GB
[info] CPU 6755.6% | Mem 378MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.69ms  726.46us  11.82ms   80.47%
    Req/Sec    13.66k     1.04k   34.54k    97.82%
  4430875 requests in 5.10s, 67.84GB read
Requests/sec: 868659.52
Transfer/sec:     13.30GB
[info] CPU 6767.4% | Mem 874MiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.69ms  583.50us  11.10ms   76.37%
    Req/Sec    13.63k     0.94k   34.48k    97.61%
  4420274 requests in 5.10s, 67.68GB read
Requests/sec: 866671.11
Transfer/sec:     13.27GB
[info] CPU 6751.1% | Mem 881MiB

=== Best: 870962 req/s (CPU: 6755.6%, Mem: 378MiB) ===
[info] saved results/static/4096/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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.77ms    1.07ms  12.70ms   77.86%
    Req/Sec    13.65k     1.19k   35.17k    97.52%
  4429907 requests in 5.10s, 67.83GB read
Requests/sec: 868431.44
Transfer/sec:     13.30GB
[info] CPU 6751.5% | Mem 448MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.75ms    1.12ms  28.93ms   74.58%
    Req/Sec    13.69k     0.89k   32.58k    96.69%
  4439560 requests in 5.10s, 67.98GB read
Requests/sec: 870272.79
Transfer/sec:     13.33GB
[info] CPU 6734.0% | Mem 1.2GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.76ms    1.09ms  28.41ms   81.54%
    Req/Sec    13.67k     1.05k   34.36k    96.99%
  4433601 requests in 5.10s, 67.89GB read
Requests/sec: 868969.41
Transfer/sec:     13.31GB
[info] CPU 6728.9% | Mem 1.3GiB

=== Best: 870272 req/s (CPU: 6734.0%, Mem: 1.2GiB) ===
[info] saved results/static/6800/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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   7.35ms   4.83ms   16.20ms   34.10ms   59.60ms

  1304819 requests in 10.00s, 1304820 responses
  Throughput: 130.45K req/s
  Bandwidth:  503.74MB/s
  Status codes: 2xx=1304820, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1304816 / 1304820 responses (100.0%)
  Reconnects: 51966
  Per-template: 260354,260916,261394,261483,260669
  Per-template-ok: 260354,260916,261394,261483,260669
[info] CPU 6677.6% | Mem 1.2GiB

[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   7.38ms   4.83ms   16.30ms   34.70ms   61.00ms

  1298612 requests in 10.00s, 1298612 responses
  Throughput: 129.83K req/s
  Bandwidth:  501.72MB/s
  Status codes: 2xx=1298612, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1298609 / 1298612 responses (100.0%)
  Reconnects: 51867
  Per-template: 258626,259328,260265,260896,259494
  Per-template-ok: 258626,259328,260265,260896,259494
[info] CPU 6710.6% | Mem 1.2GiB

[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   7.40ms   4.64ms   16.40ms   42.40ms   77.20ms

  1287718 requests in 10.00s, 1287720 responses
  Throughput: 128.74K req/s
  Bandwidth:  497.55MB/s
  Status codes: 2xx=1287720, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1287716 / 1287720 responses (100.0%)
  Reconnects: 51338
  Per-template: 256329,257116,258273,258642,257356
  Per-template-ok: 256329,257116,258273,258642,257356
[info] CPU 6731.7% | Mem 1.2GiB

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

@remittor remittor force-pushed the fastpysgi-0.7 branch 3 times, most recently from 9a68fd1 to eb57882 Compare April 27, 2026 11:55
@remittor
Copy link
Copy Markdown
Contributor Author

/benchmark -f fastpysgi-asgi

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

Test Conn RPS CPU Mem Δ RPS Δ Mem
baseline 512 688,022 6768.1% 381MiB -17.4% -76.7%
baseline 4096 890,958 6700.7% 888MiB -12.3% -38.1%
pipelined 512 391,875 2605.3% 291MiB -70.6% +5.5%
limited-conn 4096 723,767 6472.5% 1.9GiB -10.2% -24.0%
json 4096 569,336 6590.4% 2.1GiB -9.8% -16.0%
json-comp 512 289,593 6018.7% 590MiB -4.0% -27.9%
json-comp 4096 326,097 6354.4% 1.9GiB -5.5% -5.0%
json-comp 16384 322,765 6322.7% 5.2GiB -4.5% -7.1%
json-tls 4096 502,296 6455.7% 737MiB -9.4% -48.6%
upload 32 1,898 1820.9% 2.0GiB -0.2% -13.0%
upload 256 1,560 4529.8% 4.5GiB -3.0% -10.0%
api-4 256 29,556 399.0% 306MiB -7.6% -21.3%
api-16 1024 70,738 1590.2% 911MiB -9.2% -31.6%
static 1024 782,655 6711.0% 313MiB -15.3% -74.5%
static 4096 877,957 6520.8% 938MiB -12.3% -34.6%
static 6800 871,388 6567.1% 1.2GiB -10.9% -14.3%
async-db 1024 131,880 6403.6% 1.2GiB -10.0% -29.4%
Full log
Requests/sec: 877954.27
Transfer/sec:     13.44GB
[info] CPU 6463.0% | Mem 378MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.65ms  775.34us  26.34ms   78.03%
    Req/Sec    13.80k   796.91    30.10k    96.50%
  4474452 requests in 5.10s, 68.51GB read
Requests/sec: 877305.68
Transfer/sec:     13.43GB
[info] CPU 6573.2% | Mem 876MiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.64ms  650.54us  29.06ms   79.34%
    Req/Sec    13.81k     0.97k   32.36k    97.58%
  4477375 requests in 5.10s, 68.56GB read
Requests/sec: 877957.12
Transfer/sec:     13.44GB
[info] CPU 6520.8% | Mem 938MiB

=== Best: 877957 req/s (CPU: 6520.8%, Mem: 938MiB) ===
[info] saved results/static/4096/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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.79ms    1.26ms  35.71ms   85.30%
    Req/Sec    13.66k     0.95k   31.91k    96.07%
  4426841 requests in 5.10s, 67.78GB read
Requests/sec: 867946.77
Transfer/sec:     13.29GB
[info] CPU 6394.9% | Mem 450MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.75ms    1.10ms  39.92ms   79.64%
    Req/Sec    13.71k     0.92k   32.32k    97.15%
  4444298 requests in 5.10s, 68.05GB read
Requests/sec: 871388.61
Transfer/sec:     13.34GB
[info] CPU 6567.1% | Mem 1.2GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.75ms    1.11ms  41.96ms   88.06%
    Req/Sec    13.70k     1.03k   37.56k    96.62%
  4441467 requests in 5.10s, 68.01GB read
Requests/sec: 870789.66
Transfer/sec:     13.33GB
[info] CPU 6442.3% | Mem 1.3GiB

=== Best: 871388 req/s (CPU: 6567.1%, Mem: 1.2GiB) ===
[info] saved results/static/6800/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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   7.38ms   4.47ms   16.50ms   49.00ms   88.80ms

  1312232 requests in 10.00s, 1312234 responses
  Throughput: 131.19K req/s
  Bandwidth:  506.95MB/s
  Status codes: 2xx=1312234, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1312228 / 1312234 responses (100.0%)
  Reconnects: 52255
  Per-template: 261161,262333,263402,263163,262169
  Per-template-ok: 261161,262333,263402,263163,262169
[info] CPU 6302.0% | Mem 1.1GiB

[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   7.26ms   4.72ms   15.70ms   37.40ms   68.30ms

  1318266 requests in 10.00s, 1318266 responses
  Throughput: 131.80K req/s
  Bandwidth:  509.28MB/s
  Status codes: 2xx=1318266, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1318351 / 1318266 responses (100.0%)
  Reconnects: 52498
  Per-template: 262587,263192,264354,264751,263381
  Per-template-ok: 262587,263192,264354,264751,263381
[info] CPU 6345.0% | Mem 1.2GiB

[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   7.23ms   4.67ms   15.90ms   40.00ms   70.30ms

  1318804 requests in 10.00s, 1318805 responses
  Throughput: 131.85K req/s
  Bandwidth:  509.46MB/s
  Status codes: 2xx=1318805, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1318798 / 1318805 responses (100.0%)
  Reconnects: 52525
  Per-template: 262643,263424,264567,264601,263563
  Per-template-ok: 262643,263424,264567,264601,263563
[info] CPU 6403.6% | Mem 1.2GiB

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

@remittor
Copy link
Copy Markdown
Contributor Author

/benchmark -f fastpysgi-asgi

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

Test Conn RPS CPU Mem Δ RPS Δ Mem
baseline 512 34,065 100.5% 144MiB -95.9% -91.2%
baseline 4096 25,708 100.6% 1.1GiB -97.5% -21.4%
pipelined 4096 40,095 100.6% 628MiB -97.4% -21.4%
json 4096 17,819 100.5% 680MiB -97.2% -73.4%
json-comp 4096 9,724 100.4% 1.1GiB -97.2% -45.0%
json-tls 4096 4,066 100.4% 610MiB -99.3% -57.4%
upload 32 191 100.3% 744MiB -90.0% -68.4%
upload 256 102 100.4% 2.7GiB -93.7% -46.0%
api-16 1024 8,937 99.4% 391MiB -88.5% -70.6%
static 1024 29,302 100.1% 310MiB -96.8% -74.8%
static 6800 19,674 100.1% 1022MiB -98.0% -28.7%
Full log
  Per-template: 15227,15822,16418,17024,17642,18251,17900,15780
  Per-template-ok: 15227,15822,16418,17024,17642,18251,17900,15780
[info] CPU 99.4% | Mem 391MiB

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


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   110.04ms   6.78ms   419.10ms    1.70s    3.02s

  134019 requests in 15.00s, 134019 responses
  Throughput: 8.93K req/s
  Bandwidth:  47.09MB/s
  Status codes: 2xx=134019, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 134019 / 134019 responses (100.0%)
  Latency overflow (>5s): 3
  Reconnects: 26526
  Per-template: 15268,15865,16483,17082,17681,18296,17582,15762
  Per-template-ok: 15268,15865,16483,17082,17681,18296,17582,15762
[info] CPU 100.4% | Mem 418MiB

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


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   113.19ms   7.27ms   444.70ms    1.34s    2.24s

  131016 requests in 15.00s, 131016 responses
  Throughput: 8.73K req/s
  Bandwidth:  46.04MB/s
  Status codes: 2xx=131016, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 131016 / 131016 responses (100.0%)
  Reconnects: 25872
  Per-template: 14899,15509,16127,16721,17316,17919,17128,15397
  Per-template-ok: 14899,15509,16127,16721,17316,17919,17128,15397
[info] CPU 100.4% | Mem 427MiB

=== Best: 8937 req/s (CPU: 99.4%, Mem: 391MiB) ===
[info] input BW: 514.92KB/s (avg template: 59 bytes)
[info] saved results/api-16/1024/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / static / 1024c (tool=wrk) ===
==============================================
[info] waiting for server...
[info] server ready

[run 1/3]
Running 5s test @ http://localhost:8080
  64 threads and 1024 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    35.94ms    4.78ms 100.43ms   94.97%
    Req/Sec   446.64     69.84   484.00     81.52%
  144971 requests in 5.09s, 2.22GB read
Requests/sec:  28509.51
Transfer/sec:    447.14MB
[info] CPU 100.1% | Mem 187MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 1024 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    35.86ms    4.86ms 110.23ms   96.53%
    Req/Sec   447.22     69.21   484.00     82.23%
  145130 requests in 5.09s, 2.22GB read
Requests/sec:  28507.07
Transfer/sec:    447.09MB
[info] CPU 100.1% | Mem 310MiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 1024 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    34.90ms    2.73ms  61.41ms   92.66%
    Req/Sec   459.00     51.74   575.00     85.82%
  148994 requests in 5.08s, 2.28GB read
Requests/sec:  29302.17
Transfer/sec:    459.45MB
[info] CPU 100.1% | Mem 310MiB

=== Best: 29302 req/s (CPU: 100.1%, Mem: 310MiB) ===
[info] saved results/static/1024/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / static / 4096c (tool=wrk) ===
==============================================
[info] waiting for server...
[warn] fastpysgi-asgi did not come up for static; skipping
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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   348.02ms  238.28ms   1.97s    91.04%
    Req/Sec   364.72    191.35     1.07k    72.93%
  100344 requests in 5.10s, 1.54GB read
  Socket errors: connect 0, read 0, write 0, timeout 625
Requests/sec:  19674.39
Transfer/sec:    308.48MB
[info] CPU 100.1% | Mem 1022MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   356.56ms  246.77ms   2.00s    91.11%
    Req/Sec   361.05    186.53     1.69k    70.68%
  99237 requests in 5.10s, 1.52GB read
  Socket errors: connect 0, read 0, write 0, timeout 566
Requests/sec:  19457.57
Transfer/sec:    305.11MB
[info] CPU 100.1% | Mem 1.1GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   349.48ms  243.22ms   2.00s    90.97%
    Req/Sec   358.46    207.45     3.10k    76.97%
  100083 requests in 5.10s, 1.53GB read
  Socket errors: connect 0, read 0, write 0, timeout 524
Requests/sec:  19625.19
Transfer/sec:    307.70MB
[info] CPU 100.1% | Mem 1.1GiB

=== Best: 19674 req/s (CPU: 100.1%, Mem: 1022MiB) ===
[info] saved results/static/6800/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / async-db / 1024c (tool=gcannon) ===
==============================================
[info] waiting for server...
[warn] fastpysgi-asgi did not come up for async-db; skipping
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi
[info] skip: fastpysgi-asgi does not subscribe to crud
[info] skip: fastpysgi-asgi does not subscribe to baseline-h2
[info] skip: fastpysgi-asgi does not subscribe to static-h2
[info] skip: fastpysgi-asgi does not subscribe to baseline-h2c
[info] skip: fastpysgi-asgi does not subscribe to json-h2c
[info] skip: fastpysgi-asgi does not subscribe to baseline-h3
[info] skip: fastpysgi-asgi does not subscribe to static-h3
[info] skip: fastpysgi-asgi does not subscribe to gateway-64
[info] skip: fastpysgi-asgi does not subscribe to gateway-h3
[info] skip: fastpysgi-asgi does not subscribe to production-stack
[info] skip: fastpysgi-asgi does not subscribe to unary-grpc
[info] skip: fastpysgi-asgi does not subscribe to unary-grpc-tls
[info] skip: fastpysgi-asgi does not subscribe to stream-grpc
[info] skip: fastpysgi-asgi does not subscribe to stream-grpc-tls
[info] skip: fastpysgi-asgi does not subscribe to echo-ws
[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/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-4096.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/pipelined-4096.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-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

@remittor
Copy link
Copy Markdown
Contributor Author

/benchmark -f fastpysgi-asgi

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

Test Conn RPS CPU Mem Δ RPS Δ Mem
baseline 512 672,135 6686.4% 377MiB -19.3% -77.0%
baseline 4096 854,580 6699.7% 894MiB -15.9% -37.6%
pipelined 512 391,539 2634.8% 293MiB -70.7% +6.2%
limited-conn 4096 708,935 6508.2% 1.7GiB -12.0% -32.0%
json 4096 566,423 6438.7% 2.0GiB -10.3% -20.0%
json-comp 512 286,160 6059.2% 625MiB -5.2% -23.6%
json-comp 4096 325,124 6460.7% 1.9GiB -5.8% -5.0%
json-comp 16384 320,079 6332.8% 5.3GiB -5.3% -5.4%
json-tls 4096 499,724 6464.7% 748MiB -9.9% -47.8%
upload 32 1,867 1632.8% 2.0GiB -1.8% -13.0%
upload 256 1,564 4287.3% 4.8GiB -2.7% -4.0%
api-4 256 27,350 395.8% 316MiB -14.5% -18.8%
api-16 1024 71,559 1592.8% 932MiB -8.2% -30.0%
static 1024 782,524 6688.6% 434MiB -15.3% -64.7%
static 4096 880,699 6487.0% 889MiB -12.0% -38.0%
static 6800 865,632 6561.6% 1.2GiB -11.5% -14.3%
async-db 1024 131,926 6343.6% 1.2GiB -9.9% -29.4%
Full log
Requests/sec: 879214.00
Transfer/sec:     13.46GB
[info] CPU 6415.2% | Mem 387MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.66ms    0.90ms  34.11ms   86.46%
    Req/Sec    13.78k     1.03k   36.41k    94.20%
  4471072 requests in 5.10s, 68.46GB read
Requests/sec: 876619.42
Transfer/sec:     13.42GB
[info] CPU 6574.4% | Mem 879MiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.63ms  711.74us  36.59ms   85.59%
    Req/Sec    13.85k     0.98k   30.84k    97.15%
  4491921 requests in 5.10s, 68.78GB read
Requests/sec: 880699.06
Transfer/sec:     13.48GB
[info] CPU 6487.0% | Mem 889MiB

=== Best: 880699 req/s (CPU: 6487.0%, Mem: 889MiB) ===
[info] saved results/static/4096/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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.79ms    1.02ms  17.65ms   77.86%
    Req/Sec    13.62k     1.17k   29.32k    97.73%
  4414807 requests in 5.10s, 67.60GB read
Requests/sec: 865497.56
Transfer/sec:     13.25GB
[info] CPU 6458.9% | Mem 456MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.80ms    1.21ms  45.11ms   89.35%
    Req/Sec    13.62k     1.11k   32.84k    96.53%
  4415132 requests in 5.10s, 67.60GB read
Requests/sec: 865632.04
Transfer/sec:     13.25GB
[info] CPU 6561.6% | Mem 1.2GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.93ms    1.32ms  41.25ms   81.66%
    Req/Sec    13.41k     0.89k   29.88k    94.60%
  4347556 requests in 5.10s, 66.57GB read
Requests/sec: 852271.95
Transfer/sec:     13.05GB
[info] CPU 6424.0% | Mem 1.3GiB

=== Best: 865632 req/s (CPU: 6561.6%, Mem: 1.2GiB) ===
[info] saved results/static/6800/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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   7.34ms   4.52ms   15.60ms   44.40ms   83.70ms

  1316459 requests in 10.00s, 1316462 responses
  Throughput: 131.62K req/s
  Bandwidth:  508.22MB/s
  Status codes: 2xx=1316462, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1316459 / 1316462 responses (100.0%)
  Reconnects: 52401
  Per-template: 262631,263118,263915,264097,262698
  Per-template-ok: 262631,263118,263915,264097,262698
[info] CPU 6274.4% | Mem 1.2GiB

[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   7.24ms   4.64ms   16.40ms   37.30ms   66.80ms

  1319264 requests in 10.00s, 1319266 responses
  Throughput: 131.90K req/s
  Bandwidth:  509.39MB/s
  Status codes: 2xx=1319266, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1319265 / 1319266 responses (100.0%)
  Reconnects: 52561
  Per-template: 263181,263709,264404,264411,263560
  Per-template-ok: 263181,263709,264404,264411,263560
[info] CPU 6343.6% | Mem 1.2GiB

[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   7.25ms   4.56ms   15.20ms   46.30ms   88.30ms

  1317491 requests in 10.00s, 1317494 responses
  Throughput: 131.72K req/s
  Bandwidth:  508.61MB/s
  Status codes: 2xx=1317494, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1317493 / 1317494 responses (100.0%)
  Reconnects: 52511
  Per-template: 262513,263536,264346,264240,262858
  Per-template-ok: 262513,263536,264346,264240,262858
[info] CPU 6383.2% | Mem 1.3GiB

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

@remittor
Copy link
Copy Markdown
Contributor Author

/benchmark -f fastpysgi-asgi

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

Test Conn RPS CPU Mem Δ RPS Δ Mem
baseline 512 816,143 6794.9% 384MiB -2.0% -76.6%
baseline 4096 1,078,887 6700.6% 388MiB +6.2% -72.9%
pipelined 512 544,032 7239.0% 299MiB -59.2% +8.4%
limited-conn 4096 831,174 6666.2% 2.1GiB +3.1% -16.0%
json 4096 615,324 6650.1% 2.1GiB -2.6% -16.0%
json-comp 512 290,790 6602.9% 589MiB -3.6% -28.0%
json-comp 4096 333,965 6603.7% 2.0GiB -3.2% ~0%
json-comp 16384 332,940 6672.0% 5.9GiB -1.5% +5.4%
json-tls 4096 536,301 6618.3% 2.4GiB -3.3% +71.4%
upload 32 1,918 6436.0% 2.1GiB +0.9% -8.7%
upload 256 1,619 6466.8% 4.4GiB +0.7% -12.0%
api-4 256 31,083 399.9% 290MiB -2.8% -25.4%
api-16 1024 77,072 1609.4% 705MiB -1.1% -47.0%
static 1024 888,581 6787.8% 442MiB -3.8% -64.0%
static 4096 995,385 6539.7% 396MiB -0.6% -72.4%
static 6800 988,829 6618.1% 1.3GiB +1.1% -7.1%
async-db 1024 144,543 6713.7% 966MiB -1.3% -44.5%
Full log
Requests/sec: 995385.75
Transfer/sec:     15.24GB
[info] CPU 6539.7% | Mem 396MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.08ms  654.09us   9.01ms   74.76%
    Req/Sec    15.64k     1.16k   35.20k    97.52%
  5074225 requests in 5.10s, 77.69GB read
Requests/sec: 994844.06
Transfer/sec:     15.23GB
[info] CPU 6623.5% | Mem 892MiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 4096 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.11ms  622.83us  10.52ms   76.40%
    Req/Sec    15.52k     1.17k   37.17k    97.67%
  5038283 requests in 5.10s, 77.14GB read
Requests/sec: 987740.78
Transfer/sec:     15.12GB
[info] CPU 6624.6% | Mem 902MiB

=== Best: 995385 req/s (CPU: 6539.7%, Mem: 396MiB) ===
[info] saved results/static/4096/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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     6.88ms    1.37ms  51.49ms   92.24%
    Req/Sec    15.47k     0.95k   29.80k    96.60%
  5021994 requests in 5.10s, 76.90GB read
Requests/sec: 984781.17
Transfer/sec:     15.08GB
[info] CPU 6520.3% | Mem 461MiB

[run 2/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     6.81ms    0.95ms  35.75ms   82.69%
    Req/Sec    15.55k     1.06k   34.26k    97.33%
  5044064 requests in 5.10s, 77.23GB read
Requests/sec: 988829.74
Transfer/sec:     15.14GB
[info] CPU 6618.1% | Mem 1.3GiB

[run 3/3]
Running 5s test @ http://localhost:8080
  64 threads and 6800 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     6.84ms    1.02ms  43.44ms   84.86%
    Req/Sec    15.50k     0.99k   33.90k    96.90%
  5025816 requests in 5.10s, 76.95GB read
Requests/sec: 985164.36
Transfer/sec:     15.08GB
[info] CPU 6619.0% | Mem 1.3GiB

=== Best: 988829 req/s (CPU: 6618.1%, Mem: 1.3GiB) ===
[info] saved results/static/6800/fastpysgi-asgi.json
httparena-bench-fastpysgi-asgi
httparena-bench-fastpysgi-asgi

==============================================
=== fastpysgi-asgi / 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   6.67ms   4.25ms   14.80ms   36.00ms   75.30ms

  1425298 requests in 10.00s, 1425299 responses
  Throughput: 142.50K req/s
  Bandwidth:  550.18MB/s
  Status codes: 2xx=1425299, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1425297 / 1425299 responses (100.0%)
  Reconnects: 56769
  Per-template: 284079,285086,286016,285779,284337
  Per-template-ok: 284079,285086,286016,285779,284337
[info] CPU 6501.5% | Mem 954MiB

[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   6.62ms   4.41ms   14.40ms   30.10ms   59.60ms

  1443936 requests in 10.00s, 1443936 responses
  Throughput: 144.36K req/s
  Bandwidth:  557.83MB/s
  Status codes: 2xx=1443936, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1443933 / 1443936 responses (100.0%)
  Reconnects: 57709
  Per-template: 287413,288513,289543,289956,288508
  Per-template-ok: 287413,288513,289543,289956,288508
[info] CPU 6673.3% | Mem 954MiB

[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   6.48ms   4.38ms   13.60ms   30.90ms   60.00ms

  1445430 requests in 10.00s, 1445431 responses
  Throughput: 144.51K req/s
  Bandwidth:  558.01MB/s
  Status codes: 2xx=1445431, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 1445429 / 1445431 responses (100.0%)
  Reconnects: 57687
  Per-template: 288225,289038,289965,289636,288565
  Per-template-ok: 288225,289038,289965,289636,288565
[info] CPU 6713.7% | Mem 966MiB

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

2 participants