in reply to BenchMarking mod_perl application

Unless you can control the whole of the network the data has to pass through, the results of your benchmarking will be severely conditioned by the status of the network.

In my experience such benchmarking is next to useless.

What I have done is adding some print statements showing the start-time and end-time of the running of the script and of the start and end-times of the database queries, so you can see where the delay is.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^2: BenchMarking mod_perl application
by hardburn (Abbot) on Feb 25, 2005 at 20:29 UTC

    Why not just run the benchmark off localhost?

    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

      That is of course possible but using one computer both for the web-server, database-server and browser (and the Gods know what other processes running in the background) will of course also skew the results.

      It is a bit like quantummechanics: the act of measuring already distorts the reality.

      CountZero

      "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law