NIO+Multithreaded TCPSocket listener, very low cpu utilisation
ade90036
andrea.rizzini at gmail.com
Thu Nov 16 19:30:54 UTC 2017
>
> Mediocre result... let me create a java equivalent program so
> we have a direct comparison......
These are the tests for a similar program in java.
bombardier -c 200 -n 10000 http://localhost:8081
Bombarding http://localhost:8081/ with 10000 requests using 200
connections
10000 / 10000
[==============================================================================================================================] 100.00% 0s
Done!
Statistics Avg Stdev Max
Reqs/sec 24527.29 14797.09 46439
Latency 8.25ms 15.52ms 235.79ms
HTTP codes:
1xx - 0, 2xx - 10000, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 3.87MB/s
More information about the Digitalmars-d-learn
mailing list