Skip to content

bun#11

Merged
MDA2AV merged 1 commit intomainfrom
bun
Mar 11, 2026
Merged

bun#11
MDA2AV merged 1 commit intomainfrom
bun

Conversation

@MDA2AV
Copy link
Copy Markdown
Owner

@MDA2AV MDA2AV commented Mar 11, 2026

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Benchmark Results

Framework: bun | Profile: baseline

bun / baseline / 512c (p=1, r=0, cpu=unlimited)
  Best: 1445904 req/s (CPU: 7667.4%, Mem: 2.2GiB) ===

bun / baseline / 4096c (p=1, r=0, cpu=unlimited)
  Best: 1818589 req/s (CPU: 8368.9%, Mem: 2.3GiB) ===

bun / baseline / 16384c (p=1, r=0, cpu=unlimited)
  Best: 1799853 req/s (CPU: 8438.1%, Mem: 2.4GiB) ===
Full log
  Pipeline:  1
  Req/conn:  unlimited (keep-alive)
  Templates: 3
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency    356us    203us    779us   2.21ms   4.10ms

  7179027 requests in 5.00s, 7177268 responses
  Throughput: 1.43M req/s
  Bandwidth:  140.99MB/s
  Status codes: 2xx=7177268, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 7177245 / 7177268 responses (100.0%)
  CPU: 7588.2% | Mem: 2.2GiB

[run 3/3]
gcannon — io_uring HTTP load generator
  Target:    localhost:8080/
  Threads:   64
  Conns:     512 (8/thread)
  Pipeline:  1
  Req/conn:  unlimited (keep-alive)
  Templates: 3
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency    362us    202us    809us   2.22ms   4.04ms

  7057091 requests in 5.00s, 7057090 responses
  Throughput: 1.41M req/s
  Bandwidth:  138.53MB/s
  Status codes: 2xx=7057090, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 7057060 / 7057090 responses (100.0%)
  CPU: 7549.4% | Mem: 2.0GiB

=== Best: 1445904 req/s (CPU: 7667.4%, Mem: 2.2GiB) ===
[dry-run] Results not saved (use --save to persist)
httparena-bench-bun
httparena-bench-bun

==============================================
=== bun / baseline / 4096c (p=1, r=0, cpu=unlimited) ===
==============================================
ae0436fbba960900eddf5b892f4b42f4ebb22bb50c86503109c573223e113caf
[wait] Waiting for server...
[ready] Server is up

[run 1/3]
gcannon — io_uring HTTP load generator
  Target:    localhost:8080/
  Threads:   64
  Conns:     4096 (64/thread)
  Pipeline:  1
  Req/conn:  unlimited (keep-alive)
  Templates: 3
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   2.36ms   1.17ms   5.12ms   17.40ms   46.50ms

  8661159 requests in 5.01s, 8660570 responses
  Throughput: 1.73M req/s
  Bandwidth:  169.96MB/s
  Status codes: 2xx=8660570, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 8660922 / 8660570 responses (100.0%)
  CPU: 8086.4% | Mem: 2.3GiB

[run 2/3]
gcannon — io_uring HTTP load generator
  Target:    localhost:8080/
  Threads:   64
  Conns:     4096 (64/thread)
  Pipeline:  1
  Req/conn:  unlimited (keep-alive)
  Templates: 3
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   2.25ms   1.01ms   4.64ms   17.00ms   65.30ms

  9220251 requests in 5.07s, 9220250 responses
  Throughput: 1.82M req/s
  Bandwidth:  178.55MB/s
  Status codes: 2xx=9220250, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 9220194 / 9220250 responses (100.0%)
  CPU: 8368.9% | Mem: 2.3GiB

[run 3/3]
gcannon — io_uring HTTP load generator
  Target:    localhost:8080/
  Threads:   64
  Conns:     4096 (64/thread)
  Pipeline:  1
  Req/conn:  unlimited (keep-alive)
  Templates: 3
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   2.36ms   1.18ms   5.06ms   17.60ms   46.70ms

  8668982 requests in 5.00s, 8668278 responses
  Throughput: 1.73M req/s
  Bandwidth:  170.20MB/s
  Status codes: 2xx=8668278, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 8668238 / 8668278 responses (100.0%)
  CPU: 8066.6% | Mem: 1.9GiB

=== Best: 1818589 req/s (CPU: 8368.9%, Mem: 2.3GiB) ===
[dry-run] Results not saved (use --save to persist)
httparena-bench-bun
httparena-bench-bun

==============================================
=== bun / baseline / 16384c (p=1, r=0, cpu=unlimited) ===
==============================================
e9b89c1a0e33dc992bab0052da7bff80e3dee6ff4597e767f4512542b8e083d9
[wait] Waiting for server...
[ready] Server is up

[run 1/3]
gcannon — io_uring HTTP load generator
  Target:    localhost:8080/
  Threads:   64
  Conns:     16384 (256/thread)
  Pipeline:  1
  Req/conn:  unlimited (keep-alive)
  Templates: 3
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   8.86ms   5.75ms   14.20ms   70.80ms   262.00ms

  8920070 requests in 5.01s, 8903686 responses
  Throughput: 1.78M req/s
  Bandwidth:  174.70MB/s
  Status codes: 2xx=8903686, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 8903686 / 8903686 responses (100.0%)
  CPU: 7767.8% | Mem: 2.4GiB

[run 2/3]
gcannon — io_uring HTTP load generator
  Target:    localhost:8080/
  Threads:   64
  Conns:     16384 (256/thread)
  Pipeline:  1
  Req/conn:  unlimited (keep-alive)
  Templates: 3
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   8.76ms   5.63ms   14.40ms   65.70ms   264.40ms

  9033652 requests in 5.01s, 9017268 responses
  Throughput: 1.80M req/s
  Bandwidth:  176.93MB/s
  Status codes: 2xx=9017268, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 9017268 / 9017268 responses (100.0%)
  CPU: 8438.1% | Mem: 2.4GiB

[run 3/3]
gcannon — io_uring HTTP load generator
  Target:    localhost:8080/
  Threads:   64
  Conns:     16384 (256/thread)
  Pipeline:  1
  Req/conn:  unlimited (keep-alive)
  Templates: 3
  Expected:  200
  Duration:  5s


  Thread Stats   Avg      p50      p90      p99    p99.9
    Latency   8.80ms   5.47ms   14.80ms   64.40ms   237.40ms

  8987014 requests in 5.01s, 8970870 responses
  Throughput: 1.79M req/s
  Bandwidth:  175.87MB/s
  Status codes: 2xx=8970870, 3xx=0, 4xx=0, 5xx=0
  Latency samples: 8970870 / 8970870 responses (100.0%)
  CPU: 7847.7% | Mem: 2.0GiB

=== Best: 1799853 req/s (CPU: 8438.1%, Mem: 2.4GiB) ===
[dry-run] Results not saved (use --save to persist)
httparena-bench-bun
httparena-bench-bun
[restore] Restoring CPU governor to performance...

@MDA2AV MDA2AV merged commit 7ca4f08 into main Mar 11, 2026
2 of 3 checks passed
@MDA2AV MDA2AV deleted the bun branch March 11, 2026 19:42
@MDA2AV MDA2AV mentioned this pull request Apr 13, 2026
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