Re: [CDBI] Make name_lc go fast

"Aaron Trevena" <[email protected]> Tue, 3 Apr 2007 13:32:16 +0100
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
On 03/04/07, Brad Bowman <[email protected]> wrote:
> Rerunning with -r I get the opposite result, somehow not doing the lc
> makes things slower.  If this is a real effect, it could be due to my
> Column class inheriting Class::DBI::Column.  I also suspect that
> the subs may be so small and quick that the differences are artifacts
> of the profiling.  The results:

Is this 5% difference ( give/take a margin of error almost as large)
worth the trouble of investigating?

I'd suggest running some benchmarks against a realistic dataset on a
network/server/database setup resembling the production environment
you plan and seeing where real bottlenecks are.

A.



-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting