Skip to content

Question regarding the benchmarks #156

@mufeedvh

Description

@mufeedvh

Hey @joseluisq, I am the author of binserve and I have a question regarding how binserve is represented in the benchmarks. The benchmarks on binserve seems to be very low on the chart represented here and I want to know how you got that result.

Just wanted to know the benchmark setup and clarify whether the numbers I am looking at are accurate. And if you have some ideas on why that might be, please let me know what I am missing so I can improve my project based on that. 🙌

SIDE NOTE: I am assuming #146 (comment) is the same question.

I ran a benchmark on my system to confirm and binserve is 2x times faster.

My results:

static-web-server:

λ wrk -c 500 -t 12 -d 5 http://127.0.0.1:8888/
Running 5s test @ http://127.0.0.1:8888/
  12 threads and 500 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.05ms    1.73ms 203.91ms   88.75%
    Req/Sec    10.72k     4.07k   29.81k    65.50%
  644478 requests in 5.06s, 134.60MB read
Requests/sec: 127262.62
Transfer/sec:     26.58MB

Screenshot from 2022-10-27 20-48-41

binserve:

λ wrk -c 500 -t 12 -d 5 http://127.0.0.1:1337/
Running 5s test @ http://127.0.0.1:1337/
  12 threads and 500 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.04ms  332.47us  17.19ms   91.34%
    Req/Sec    19.90k     3.74k   78.95k    99.34%
  1193903 requests in 5.10s, 247.08MB read
Requests/sec: 234104.96
Transfer/sec:     48.45MB

Screenshot from 2022-10-27 20-54-08

And I checked this project out and it's really cool, loved how simplistic and straight to the point it is!

Metadata

Metadata

Assignees

Labels

benchmarksBenchmarks related topicquestionFurther information is requestedv2v2 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions