ulimit -n 10000
kvn@srv-debian:~$ ab -c 2000 -n 2000 localhost
This is ApacheBench, Version 2.3 <$Revision: 1757674 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, www.zeustech.net
Licensed to The Apache Software Foundation, www.apache.org
Benchmarking localhost (be patient)
Completed 200 requests
Completed 400 requests
Completed 600 requests
Completed 800 requests
Completed 1000 requests
Completed 1200 requests
Completed 1400 requests
Completed 1600 requests
Completed 1800 requests
Completed 2000 requests
Finished 2000 requests
Server Software:
Server Hostname: localhost
Server Port: 80
Document Path: /
Document Length: 0 bytes
Concurrency Level: 2000
Time taken for tests: 0.202 seconds
Complete requests: 2000
Failed requests: 2000
(Connect: 0, Receive: 0, Length: 752, Exceptions: 1248)
Non-2xx responses: 489
Total transferred: 3130504 bytes
HTML transferred: 2989218 bytes
Requests per second: 9912.77 [#/sec] (mean)
Time per request: 201.760 [ms] (mean)
Time per request: 0.101 [ms] (mean, across all concurrent requests)
Transfer rate: 15152.32 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 34 74 27.3 70 126
Processing: 30 34 3.2 32 51
Waiting: 0 12 16.0 0 43
Total: 74 108 25.3 102 176
Percentage of the requests served within a certain time (ms)
50% 102
66% 118
75% 129
80% 136
90% 149
95% 155
98% 158
99% 159
100% 176 (longest request)
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Configurations>Debug;Release;Release-no-self</Configurations>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-no-self|AnyCPU'">
<SelfContained>False</SelfContained>
</PropertyGroup>