Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Your best call is to run several tools:
1) Xdebug [ http://www.xdebug.org ]
This is a debugger and profiler for PHP. Once the profiler is enabled, it will save a file that contains many information telling how many times each functions have been called, and how much time they took to be ran.
You can use a program named wincachegrind [ http://sourceforge.net/projects/wincachegrind ] to analyze that trace.

Do this page after page, and you will see where are the bottlenecks in your code.
Most of the times, they are in the database related functions.
But too, this will let you know if a specific functions is called too many time. It could be good to optimize it.
2) To test the load, use something like apache's fundation jmeter [ http://jakarta.apache.org/jmeter/ ].
It will allow you to plot and simulate hundreds of concurernt connections, and how many time your server took to respond.
You can find a basic explaination about how to setup a web page test plan here: http://jakarta.apache.org/jmeter/use...test-plan.html
But take care to disable xdebug profiler, as the profiler slows down your scripts, or you will have thousands of trace files to clean up.
here is a web page test ploted result:
I don't know about wamp, but I know that xampp provide the xdebug extension by default.
__________________
Only a biker knows why a dog sticks his head out the window.
|