Re: Measuring response time Apache request
marco <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
Il 24/05/2011 17.35, Adam Prime ha scritto: > On 11-05-24 11:30 AM, marco wrote: >> Hi all, >> I want to get the response time that Apache spends to serve a request >> (from post-read-request phase to the response phase). >> Any idea? >> >> Thanks > > I'm pretty sure there are messages buried in the archives (from > torsten) showing how to do this with $r->push_handlers and Time::HiRes > (or something along those lines). It's not really that complicated > though, you basically just have a PostReadRequestHandler that uses > push_handlers to push a handler into every phase that just logs the > current time, or whatever it is you want to log. > > Adam > > Hi Adam, I'm in this list only since 2 weeks. Can you tell me where can I find this mails? Thanks a lot. Best Regards