homepage Welcome to WebmasterWorld Guest from 54.242.126.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
understanding apache bench?
jamie

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 495 posted 9:11 am on Oct 26, 2003 (gmt 0)

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

QUESTION 1:

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?

--
QUESTION 2:

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!

 

jdMorgan

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



 
Msg#: 495 posted 5:16 am on Oct 28, 2003 (gmt 0)

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

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved