12

I recently asked a question regarding Drupal performance and got some great replies.

This got me thinking, what is a reliable/meaningful way to benchmark Drupal?

It's easy to say "install APC, memchached & Varnish" or "install module x or y", but how can I quantify just how big of a performance gain I'm getting from each setup? Basically, a sure-fire way to compare setups and find bottlenecks to squeeze the most possible performance from a Drupal site. What is the best method to find out?

Targetting Drupal 6.

1 Answer 1

7

I like jmeter, http://jakarta.apache.org/jmeter

It allows actual benchmarking of authenticated sessions, which many of the other approaches like ab do not. There's an article about using jmeter with authenticated users at this link

5
  • thanks for that i'm gonna check it out, still early to close this one though! :)
    – Alex Weber
    Commented Apr 20, 2011 at 15:51
  • 1
    Agreed with rfay, Jmeter is really a good tool to benchmark your application.
    – lnunesbr
    Commented Apr 21, 2011 at 13:30
  • rfay, just wondering if we can use the -C name=value ( the cookie option ) some way in ab to simulate authenticated user basically make drupal bypass the cache?
    – Dipen
    Commented Apr 22, 2011 at 1:31
  • I would imagine that you can use the cookie, but getting it created in the first place is where jquery knows what to do. You have to log in and capture the cookie, and then continue to use it.
    – rfay
    Commented Apr 26, 2011 at 4:40
  • JMeter's a great suggestion. I've published another Drupal test plan and some plotting tools: metaltoad.com/taxonomy/term/195
    – Dylan Tack
    Commented Jun 27, 2011 at 4:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.