Skip to content

Latest commit

 

History

History
248 lines (192 loc) · 6.35 KB

hello-world.md

File metadata and controls

248 lines (192 loc) · 6.35 KB

Generated by bench-bot.

Hardware

Cpu

Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz

Benchmark

Command:

rewrk -t 8 -c 500 -d 30s -h http://127.0.0.1:3000

Comparisons

Framework Name Latency.Avg Latency.Stdev Latency.Min Latency.Max Request.Total Request.Req/Sec Transfer.Total Transfer.Rate Max. Memory Usage
actix-web 6.78ms 4.69ms 0.10ms 135.30ms 2211929 73733.01 274.17MB 9.14MB/Sec 0.2MB
astra 6.68ms 4.22ms 0.10ms 145.85ms 2243188 74769.03 278.03MB 9.27MB/Sec 0.0MB
axum 6.72ms 4.21ms 0.10ms 124.85ms 2231373 74376.22 276.57MB 9.22MB/Sec 0.2MB
hyper 7.02ms 5.01ms 0.09ms 169.12ms 2133844 71120.46 264.48MB 8.81MB/Sec 0.7MB
ngyn 7.34ms 6.25ms 0.09ms 230.90ms 2042616 68079.17 253.17MB 8.44MB/Sec 1.3MB
ntex 6.65ms 4.14ms 0.08ms 164.03ms 2252618 75085.76 279.21MB 9.31MB/Sec 58.2MB
poem 6.66ms 4.15ms 0.10ms 156.38ms 2251463 75044.95 279.06MB 9.30MB/Sec 0.2MB
rocket 6.62ms 3.89ms 0.09ms 143.67ms 2265507 75502.72 280.81MB 9.36MB/Sec 0.0MB
salvo 7.30ms 6.15ms 0.09ms 260.97ms 2053510 68435.31 254.52MB 8.48MB/Sec 0.0MB
thruster 7.72ms 7.40ms 0.09ms 300.29ms 1938352 64714.33 240.31MB 8.02MB/Sec 57.9MB
viz 7.73ms 7.22ms 0.10ms 281.84ms 1938773 64602.00 240.29MB 8.01MB/Sec 0.0MB
warp 9.19ms 9.27ms 0.10ms 214.51ms 1629940 54320.46 202.01MB 6.73MB/Sec 57.4MB

actix-web

Maximum Memory Usage: 0.2 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    6.78ms   4.69ms   0.10ms   135.30ms  
  Requests:
    Total: 2211929 Req/Sec: 73733.01
  Transfer:
    Total: 274.17 MB Transfer Rate: 9.14 MB/Sec

457 Errors: error shutting down connection: Socket is not connected (os error 57)

astra

Maximum Memory Usage: 0.0 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    6.68ms   4.22ms   0.10ms   145.85ms  
  Requests:
    Total: 2243188 Req/Sec: 74769.03
  Transfer:
    Total: 278.03 MB Transfer Rate: 9.27 MB/Sec

620 Errors: error shutting down connection: Socket is not connected (os error 57)

axum

Maximum Memory Usage: 0.2 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    6.72ms   4.21ms   0.10ms   124.85ms  
  Requests:
    Total: 2231373 Req/Sec: 74376.22
  Transfer:
    Total: 276.57 MB Transfer Rate: 9.22 MB/Sec

537 Errors: error shutting down connection: Socket is not connected (os error 57)

hyper

Maximum Memory Usage: 0.7 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    7.02ms   5.01ms   0.09ms   169.12ms  
  Requests:
    Total: 2133844 Req/Sec: 71120.46
  Transfer:
    Total: 264.48 MB Transfer Rate: 8.81 MB/Sec

594 Errors: error shutting down connection: Socket is not connected (os error 57)

ngyn

Maximum Memory Usage: 1.3 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    7.34ms   6.25ms   0.09ms   230.90ms  
  Requests:
    Total: 2042616 Req/Sec: 68079.17
  Transfer:
    Total: 253.17 MB Transfer Rate: 8.44 MB/Sec

558 Errors: error shutting down connection: Socket is not connected (os error 57)

ntex

Maximum Memory Usage: 58.2 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    6.65ms   4.14ms   0.08ms   164.03ms  
  Requests:
    Total: 2252618 Req/Sec: 75085.76
  Transfer:
    Total: 279.21 MB Transfer Rate: 9.31 MB/Sec

482 Errors: error shutting down connection: Socket is not connected (os error 57)

poem

Maximum Memory Usage: 0.2 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    6.66ms   4.15ms   0.10ms   156.38ms  
  Requests:
    Total: 2251463 Req/Sec: 75044.95
  Transfer:
    Total: 279.06 MB Transfer Rate: 9.30 MB/Sec

565 Errors: error shutting down connection: Socket is not connected (os error 57)

rocket

Maximum Memory Usage: 0.0 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    6.62ms   3.89ms   0.09ms   143.67ms  
  Requests:
    Total: 2265507 Req/Sec: 75502.72
  Transfer:
    Total: 280.81 MB Transfer Rate: 9.36 MB/Sec

519 Errors: error shutting down connection: Socket is not connected (os error 57)

salvo

Maximum Memory Usage: 0.0 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    7.30ms   6.15ms   0.09ms   260.97ms  
  Requests:
    Total: 2053510 Req/Sec: 68435.31
  Transfer:
    Total: 254.52 MB Transfer Rate: 8.48 MB/Sec

582 Errors: error shutting down connection: Socket is not connected (os error 57)

thruster

Maximum Memory Usage: 57.9 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    7.72ms   7.40ms   0.09ms   300.29ms  
  Requests:
    Total: 1938352 Req/Sec: 64714.33
  Transfer:
    Total: 240.31 MB Transfer Rate: 8.02 MB/Sec

11 Errors: error shutting down connection: Socket is not connected (os error 57)

viz

Maximum Memory Usage: 0.0 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    7.73ms   7.22ms   0.10ms   281.84ms  
  Requests:
    Total: 1938773 Req/Sec: 64602.00
  Transfer:
    Total: 240.29 MB Transfer Rate: 8.01 MB/Sec

587 Errors: error shutting down connection: Socket is not connected (os error 57)

warp

Maximum Memory Usage: 57.4 MB

Beginning round 1...
Benchmarking 500 connections @ http://127.0.0.1:3000 for 30 second(s)
  Latencies:
    Avg      Stdev    Min      Max      
    9.19ms   9.27ms   0.10ms   214.51ms  
  Requests:
    Total: 1629940 Req/Sec: 54320.46
  Transfer:
    Total: 202.01 MB Transfer Rate: 6.73 MB/Sec

497 Errors: error shutting down connection: Socket is not connected (os error 57)