LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Slightly OT: Suggestions for performance testing PHP website

[ILUG] Slightly OT: Suggestions for performance testing PHP website

David Coallier davidc at php.net
Wed Dec 3 11:43:21 GMT 2008


2008/12/3 PhilipQuinlan <philip.quinlan at cs-consultants.com>:
> Hi Phil,
>
> not wanting to start a row over our favourite tools, but  in what way did
> JMeter fail to do what you want, it should be perfect for what you describe.
>
> Build individual application function tests, string them together randomly,
> top and tail with login and logout then run n threads.

I would also have to recommend both ab and JMeter. With JMeter you can
basically take the user journey or the most used routes and test the
performances.

Once you get the results, a good way to find out how to optimize your
code is also to use xdebug (http://pear.php.net/xdebug). By enabling
this extension, you'll be able to generate cachegrind outputs which
basically means that you can load the output file in kcachegrind or on
windows on wincachegrind and find out all the bottlenecks in your
code. Most of the times it's going to be sending you to the methods
doing the database queries or socket connections but that happens.

Hmm, good luck :)

-- 
Slan,
David



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell