Re: debugging, time for fetches?
Max Muller <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.eof |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonathan, Here is what I usually do: - Turn on adaptor channel this shows when sql is sent to the database and when it gets rows back. Then you can put in a log in the database context delegate that prints a line in the databaseContextDidSelectObjects which is called after the eo hydrating is done. Note that all this logging slows everything down a bit but you should be able to see what is taking a while (for bonus points print a stack trace in the didSelect method to see who the offending line is that is causing a fetch). Regards, Max On Wednesday, October 9, 2002, at 10:43 AM, Jonathan Rochkind wrote: > I can set EOAdaptorDebugging=true to see all the SQL in the console. > Is there any way to set things so the _time_ it took to perform each > fetch, ideally including the time it takes to instantiate all the > objects from the fetch, is included in my console output? To make it > easier to figure out the best place to work on optimization, for a > page-load that's longer than I'd like? > > --Jonathan > > _______________________________________________ > EOF mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/eof