[CDBI] extensive use of method Class::DBI::_fresh_init

Perrin Harkins pharkins at gmail.com
Wed Jan 24 18:25:29 GMT 2007

On 1/24/07, Stephan Steigele <steigele at bioinf.uni-leipzig.de> 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

More information about the ClassDBI mailing list