On Mon, 2005-12-19 at 17:30 -0500, John Siracusa wrote:
> Pass the "--time" and (optionally) the "--hi-res-time" flags to bench.pl to
> see a wall clock comparison.

Are you sure?  I looked at Benchmark a while back trying to find a way
to measure wall time with cmpthese() and couldn't find one.  I don't
think it does wall time comparisons in the iterations/second stats.

> Anyway, the way the bench is designed, the i/o wait and other db overhead
> should be exactly equal for each ORM . They're all using the same db, and
> they all have their own private subset of rows, in an attempt to defeat OS
> and db caching effects across ORMs.

The thing I had in mind here is how some of them make more fetches than
they ideally should for complex queries, which is a major source of
performance drain in Class::DBI.  I suppose it's hard to tell what
should be measured here, since complex queries in Class::DBI typically
mean hand-coded SQL or else manipulation in Perl, and anyone concerned
about performance would probably choose the former.

- Perrin



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to