Skip to content

Instantly share code, notes, and snippets.

@marcosc90
Created September 25, 2022 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcosc90/150b8ce0546c8a2d821adb68313aedff to your computer and use it in GitHub Desktop.
Save marcosc90/150b8ce0546c8a2d821adb68313aedff to your computer and use it in GitHub Desktop.

128kb binary POST

My patch (http) - op_http_read_all

  2 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   482.22us  383.90us  19.46ms   95.12%
    Req/Sec    10.50k   803.80    12.25k    77.36%
  Latency Distribution
     50%  410.00us
     75%  510.00us
     90%  733.00us
     99%    1.16ms
  420210 requests in 20.10s, 57.71MB read
Requests/sec:  20905.82
Transfer/sec:      2.87MB

My patch (http) - op_http_read

  2 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   522.55us  174.37us   4.12ms   83.81%
    Req/Sec     9.46k   648.90    10.60k    79.10%
  Latency Distribution
     50%  481.00us
     75%  551.00us
     90%  723.00us
     99%    1.12ms
  378579 requests in 20.10s, 51.99MB read
Requests/sec:  18834.92
Transfer/sec:      2.59MB

Main (http)

  2 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.06ms  420.17us  18.80ms   87.90%
    Req/Sec     4.72k   359.40     9.22k    92.02%
  Latency Distribution
     50%    0.97ms
     75%    1.21ms
     90%    1.45ms
     99%    1.85ms
  188205 requests in 20.10s, 25.85MB read
Requests/sec:   9363.97
Transfer/sec:      1.29MB

Main (flash)

  2 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     0.95ms  274.67us   5.89ms   76.63%
    Req/Sec     5.13k   346.29     9.53k    87.28%
  Latency Distribution
     50%    0.87ms
     75%    1.12ms
     90%    1.32ms
     99%    1.74ms
  204546 requests in 20.10s, 23.60MB read
Requests/sec:  10176.78
Transfer/sec:      1.17MB

Node

  2 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   698.57us  288.92us  12.69ms   86.46%
    Req/Sec     7.26k   827.57     8.95k    69.90%
  Latency Distribution
     50%  592.00us
     75%  749.00us
     90%    1.08ms
     99%    1.55ms
  290546 requests in 20.10s, 35.47MB read
Requests/sec:  14455.24
Transfer/sec:      1.76MB

Summary

Patch (http/read_all) Path (http/read) Main (http) Main (flash) Node
req/s 20905.82 18834.92 9363.97 10176.78 14455.24

POST JSON

Summary

Patch (http/read_all) Path (http/read) Main (http) Main (flash) Node
req/s 47419.98 46511.44 30791.74 - 34162.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment