Re: [CDBI] extensive use of method Class::DBI::_fresh_init
"Perrin Harkins" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
On 1/24/07, Stephan Steigele <steigele-PVbs4WEvWuCx/Y9o2RxMc8RkbBMU/[email protected]> wrote: > using perl -d:DProf and dprofpp for profiling showed me > extensive calls of Class::DBI::_fresh_init. Did you sort the output by wallclock time? When profiling an application that uses a database, you want to use dprofpp -r. > what i MEAN to understand is, that calling Class::DBI::_fresh_init > always triggers a reconnection with db-server, is that right?? No, it's a very light method. It doesn't do any database interaction. Please try dprofpp with -r and post the results. - Perrin