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!