Hi, Am Fr, den 08.10.2004 schrieb Simon Michael um 4:10:
Hi all,
I'd like to print a "this page was rendered in ... milliseconds" as you see on php sites. I think I'd get better accuracy by getting at least the start time from ZPublisher because.. actually it may not help, but I'm thinking about the case where a request generates a redirect and another request. I'd like to time the whole thing. Well, retry requests in case of a storage conflict. But redirects will actually cause two distinct requests you cannot join together.
When you want to show the render time, a DateTime() at start and at end should suffice. I dont think you can get much better figures here. Regards Tino
Do you know if there are any facilities for this already in ZPublisher ? Any tips or pointers welcome.
-Simon
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )