<!-- Presentation generated by Internet Assistant for Microsoft PowerPoint 97 -->
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft Internet Assistant for Microsoft PowerPoint 97">
<TITLE>How fast was what?</TITLE>
</HEAD>
<BODY >
<CENTER>
<TABLE WIDTH=100%>
<TR> <TD WIDTH=100% ALIGN=CENTER>
<A HREF="sld001.htm">First</A>
<A HREF="sld023.htm">Previous</A>
<A HREF="sld025.htm">Next</A>
<A HREF="sld102.htm">Last</A>
<A HREF="index.htm">Index</A>
<A HREF="dbi.perl.org">Home</A>
<A HREF="tsld024.htm">Text</A>
</TD> </TR>
<TR> <TD WIDTH=100% ALIGN=CENTER>
<IMG SRC="img024.gif" usemap="#Objmap" WIDTH=800 HEIGHT=600 BORDER=0>
</TD> </TR>
</TABLE>
<P>Slide 24 of 102</P>
</CENTER>
<!-- <UL>
<H2>How fast was what?</H2>
</UL></P>
<P><UL>
<LI><H2>Breakdown by statement and method:
</H2>
<UL>
$ DBI_PROFILE=6 test.pl (only part of output is shown here)
<BR><BR>'UPDATE prices SET price=? WHERE prod_id=?' =>
<BR> 'execute' =>
<BR> 0.000951s
<BR> 'prepare' =>
<BR> 0.000404s
<BR>
</UL></UL><UL>
<LI><H2>Some key points
</H2>
<UL>
<LI>Only profiles top level calls from application, not recursive calls from within DBI/DBD.
<LI>Timing data is collected and merged into a $h->{Profile}{
}{
} data tree
<LI>All handles share the same data tree by default - giving one overall set of results
<LI>The path through the tree to where the data is merged-in can be dynamically controlled
<LI>By default $dbh method calls are usually associated with the $dbh->{Statement} string
<LI>DBI::Profile can be subclassed (e.g., DBI::ProfileDumper for mod_perl)
<LI>Applications can add their own timing data
<LI>More features than I can fit on the slide...
</UL></UL></P>
<P> -->
</Body>
</HTML>