I haven't got good answers for your other two questions, but what I use for determining servlet execution times is the built-in logging of Webware.
Under <appworkdir>/Config are the following items: [EMAIL PROTECTED] Configs]$ grep Activity *.config Application.config: 'LogActivity': 1, Application.config: 'ActivityLogFilename': 'Logs/Activity.csv', Application.config: 'ActivityLogColumns': ['request.remoteAddress', 'request.method', 'request.uri', 'response.size', 'servlet.name', 'request.timeStamp', 'transaction.duration', 'transaction.errorOccurred'], The Activity.csv file contains probably exactly what you're looking for in the transaction.duration column. We take the servlet.name and transaction.duration and average it over a long period to determine what pages should get our optimization attention next. I hope this helps. Cheers! -- David Hancock | [EMAIL PROTECTED] | 410-266-4384 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Faried Nawaz Sent: Monday, December 27, 2004 3:43 PM To: webware-discuss@lists.sourceforge.net Subject: [Webware-discuss] a couple of questions -- apache2, referencing objects in memory, page load time Hello, I'm using webware 0.8.1 with apache2, with the mod_webkit2 adaptor. Is it safe to run apache2 in multithreaded mode (the worker mpm instead of prefork)? I run FreeBSD 5.3.x, and that finally has a stable (?) implementation of kernel threads. I'd like to take advantage of that, if possible. How can I tell how long it takes to render pages? I have a SitePage parent class for all my pages (derived from WebKit.Page); should I store the current time in its awake() and print the difference between it and the current time in sleep() to the console? Lastly, I'd like to cache some objects in memory. When my users do a lookup for a product, I call a method that returns an object which contains everything I need to display the product info. How can I keep a handle on that object and refer to it later when I next get a query for that product? Do I create a dict instance variable in my SitePage class, and have my user-facing pages check self.cachedProduct('Ajax Hammer') or something? I can't find any examples for this, and I could really use a feature like this to speed up my site. I'm sure lots of people have asked these questions, but I can't easily find them using the sf.net search interface. Thanks, Faried. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss