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.

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

  • thanks for that i'm gonna check it out, still early to close this one though! :) – Alex Weber Apr 20 '11 at 15:51
  • 1
    Agreed with rfay, Jmeter is really a good tool to benchmark your application. – lnunesbr Apr 21 '11 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 Apr 22 '11 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 Apr 26 '11 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 Jun 27 '11 at 4:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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