Re: [CDBI] Make name_lc go fast

"Perrin Harkins" <[email protected]> Mon, 2 Apr 2007 23:07:45 -0400
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
On 4/2/07, Brad Bowman <[email protected]> wrote:
> After profiling a CDBI app I found that Class::DBI::Column::name_lc is
> second on the list and in my case, actually does nothing, the names are
> already in lower case:
>
> # Original with name_lc
> dprofpp

Please use the -r flag, so you can measure real time.  It's not very
useful to measure CPU time when doing something like DBI calls that
wait a long time but don't use much CPU.

I agree that name_lc looks like it could be better, but measuring wall
time will give you a more useful perspective on the problem.

- Perrin