Web Server program writes learning notes (5) Performance test

xiaoxiao2021-03-06  42

The HTTP server performance test tool AB with Apache has tested the above program in FreeBSD and Windows (Cygwin). Network conditions: LAN, 192.168.1.7 running server programs at FreeBSD and Windows (Cygwin), 192.168.1.27 Running the AB Test for the server program; machine hardware conditions: Intel (r) Celeron CPU 2.40GHz; 256DDR, MAXTOR 80G. 1. FreeBSD 4.7 Environment: / *************************************************** ********* / C: /> AB-N 1000-C 50 192.168.1.7/124this is apachebench, version 2.0.41-dev <$ revion: 1.121.2.12 $> apache-2.0copyright C) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/copyright (c) 1998-2002 The apache software foundation, http://www.apache.org/

Benchmarking 192.168.1.7 (be patient)

Server Software: MypngServerServer Hostname: 192.168.1.7server port: 80

Document Path: / 124Document Length: 188 Bytes

Concurrency Level: 50Time taken for tests: 77.831917 secondsComplete requests: 1000Failed requests: 0Write errors: 0Total transferred: 346000 bytesHTML transferred: 188000 bytesRequests per second: 12.85 [# / sec] (mean) Time per request: 3891.596 [ms] (mean) Time Per Request: 77.832 [MEAN, ACROSS All Concurrent Requests "Transfer Rate: 4.33 [KBYTES / Sec] Received

Connection Times (MS) MIN Mean [ /- SD] Median MaxConnect: 0 77 41.7 100 100Processing: 10 3718 481.4 3805 3905Waiting: 0 1997 1104.4 2002 3905 Total: 110 3796 481.8 3905 3905

Percentage of the reuests served within a cestain time (ms) 50% 3905 66% 3905 75% 3905 80% 3905 90% 3905 95% 3905 98% 3905 99% 3905 100% 3905 (LONGEST REQUEST) / ****** *********************************************************** ***** / 2. Windows XP (CYGWIN) environment: / ***************************************** ******************* / C: /> AB-N 1000 -C 50 192.168.1.7/qwethis is apachebench, version 2.0.41-dev <$ revision: 1.121 .2.12 $> Apache-2.0copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/copyright (c) 1998-2002 The apache software foundation, http://www.apache.org / Benchmarking 192.168.1.7 (be patient)

Server Software: MypngServerServer Hostname: 192.168.1.7server port: 80

Document Path: / QWedocument Length: 193 Bytes

Concurrency Level: 50Time taken for tests: 719.454525 secondsComplete requests: 1000Failed requests: 0Write errors: 0Total transferred: 351000 bytesHTML transferred: 193000 bytesRequests per second: 1.39 [# / sec] (mean) Time per request: 35972.726 [ms] (mean) Time Per Request: 719.455 [MEAN, ACROSS All Concurrent Requests Transfer Rate: 0.48 [KBYTES / Sec] Received

Connection Times (MS) MIN Mean [ /- SD] Median MaxConnect: 0 712 311.2 520 1191Processing: 4326 34387 4359.4 35221 36192Waiting: 3815 20803 9140.2 20769 3611Total: 5127 35099 4359.4 36111 36933

Percentage of the requests served within a cestain time (ms) 50% 36111 66% 36212 75% 36312 80% 36392 90% 36612 95% 36712 98% 36812 99% 36822 100% 36933 (LONGEST REQUEST) / ******* **************************************************** /

转载请注明原文地址:https://www.9cbs.com/read-71621.html

New Post(0)