[fpc-pascal] Does FPHTTPServer support Keep-Alive: ON?

leledumbo leledumbo_cool at yahoo.co.id
Wed Jan 2 00:32:05 CET 2013


I want to benchmark but the current result looks weird:

leledumbo at LeleBuntu:~$ ab -n 100000 -c 100 -k http://localhost:2015/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Completed 100000 requests
Finished 100000 requests


Server Software:        
Server Hostname:        localhost
Server Port:            2015

Document Path:          /
Document Length:        14 bytes

Concurrency Level:      100
Time taken for tests:   27.991 seconds
Complete requests:      100000
Failed requests:        0
Write errors:           0
Keep-Alive requests:    0
Total transferred:      10900000 bytes
HTML transferred:       1400000 bytes
Requests per second:    3572.60 [#/sec] (mean)
Time per request:       27.991 [ms] (mean)
Time per request:       0.280 [ms] (mean, across all concurrent requests)
Transfer rate:          380.29 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1  75.4      0   15030
Processing:     0    2 163.1      0   27989
Waiting:        0    2 163.1      0   27989
Total:          0    2 191.3      0   27991

Percentage of the requests served within a certain time (ms)
  50%      0
  66%      0
  75%      0
  80%      0
  90%      0
  95%      0
  98%      0
  99%      1
 100%  27991 (longest request)



--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Does-FPHTTPServer-support-Keep-Alive-ON-tp5712476.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list