Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

understanding apache bench?

9:11 am on Oct 26, 2003 (gmt 0)

Senior Member from ES 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:July 24, 2002
votes: 2

i have just been benchmarking some of my scripts and am not quite sure what is what. e.g.:


ab -n 1000 -c 50 /mypage.php

what is the difference between the -n and the -c switch.

does it mean that each user is requesting 20 pages (1000 / 50)?
or that each user is requesting 1000 pages?


these are the results for different parameters:

ab -n 1000 -c 50 /mypage.php = 70 requests p.s.

ab -n 10 -c 50 /mypage.php = 15 requests p.s.

why should the time be so much faster when more pages are being requested?

any help is really appreciated. many thanks!

5:16 am on Oct 28, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

Anyone have any benchmark-interpretation experince to share with jamie here?