guzba / mummy

An HTTP and WebSocket server for Nim that returns to the ancient ways of threads.
MIT License
281 stars 11 forks source link

work #2

Closed guzba closed 1 year ago

guzba commented 1 year ago

before:

Running 10s test @ http://localhost:8080 10 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 752.52us 549.59us 34.14ms 99.80% Req/Sec 13.62k 347.53 14.33k 90.69% 1369464 requests in 10.10s, 112.32MB read Requests/sec: 135591.99 Transfer/sec: 11.12MB

after 5f8fbe62e6960065563a989b93090d4e3782f81a:

Running 10s test @ http://localhost:8080 10 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 570.82us 666.09us 40.58ms 99.74% Req/Sec 18.26k 0.90k 23.72k 98.21% 1831152 requests in 10.10s, 108.27MB read Requests/sec: 181313.13 Transfer/sec: 10.72MB

after 611a2e53c43a1e89d2b537e87d0f524970aca295:

Running 10s test @ http://localhost:8080 10 threads and 100 connections Thread Stats Avg Stdev Max +/- Stdev Latency 571.07us 1.10ms 44.25ms 99.58% Req/Sec 19.43k 1.24k 20.40k 99.01% 1952345 requests in 10.10s, 115.44MB read Requests/sec: 193312.01 Transfer/sec: 11.43MB