Web applications have no control over the frequency or timing of user requests. As well, the only way of determining an application's performance is to actually measure it under various loads.
are available to help the programmer measure web application performance.
Such tools are configured by the developer to simulate the expected environment of
an application, by sending it multiple requests, through
multiple independent threads. The tool then measures response times,
and collects statistics on application performance.