Categorized | News

ab – Apache Server Benchmarking Tool

Posted on 15 May 2003 by Demian Turner

Ok, so you’ve got your web app together, spent months perfecting it, a little worried about the 25 include files per page, or your class inheritance hierarchy that often goes 5 levels deep – what do you do?

One way to benchmark the performance of your scripts is ab – the  Apache HTTP server benchmarking tool.  The only caveat, if your webserver is on a windows platform you’re going to have to look for something else 😉

ab is a simple command line benchmarking tool that comes standard with the Apache package.  With it you can execute a series of requests against any given page in your app and extract performance statistics.  Experimenting with the command line switches you can force concurrent requests, the HTTP KeepAlive feature, tweak headers and more.

Bookmark and Share

1 Comments For This Post

  1. Joe Says:

    Actually if your Apache is running on the windows platform you can still test it but you will have to test it from another machine running apache under linux or unix.

Leave a Reply



Demian Turner's currently-reading book recommendations, reviews, favorite quotes, book clubs, book trivia, book lists



PHPkitchen recommends you also check out the following sites :

Accounting for Small Businesses

FreeAgent sign-up