Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prefork #11

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Add prefork #11

merged 1 commit into from
Jul 30, 2024

Conversation

kigawas
Copy link
Owner

@kigawas kigawas commented Jul 29, 2024

On Intel i9-10900K

Before

$ wrk --latency -t20 -c50 -d10s http://127.0.0.1:3000/users\?username\=
Running 10s test @ http://127.0.0.1:3000/users?username=
  20 threads and 50 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   848.39us    1.97ms  69.61ms   98.86%
    Req/Sec     2.75k   270.89     4.04k    79.21%
  Latency Distribution
     50%  609.00us
     75%    0.92ms
     90%    1.39ms
     99%    2.94ms
  550869 requests in 10.10s, 135.01MB read
Requests/sec:  54542.49
Transfer/sec:     13.37MB

After

$ wrk --latency -t20 -c50 -d10s http://127.0.0.1:3000/users\?username\=
Running 10s test @ http://127.0.0.1:3000/users?username=
  20 threads and 50 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   356.84us  326.68us  20.21ms   93.21%
    Req/Sec     5.88k     2.37k   12.17k    61.26%
  Latency Distribution
     50%  282.00us
     75%  488.00us
     90%  647.00us
     99%    1.15ms
  1179612 requests in 10.10s, 289.12MB read
Requests/sec: 116806.23
Transfer/sec:     28.63MB

@kigawas kigawas force-pushed the add-prefork branch 7 times, most recently from b92c941 to b3e0b1f Compare July 29, 2024 17:36
@kigawas kigawas merged commit d516231 into main Jul 30, 2024
6 checks passed
@kigawas kigawas deleted the add-prefork branch July 30, 2024 14:11
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