[ 
http://issues.apache.org/jira/browse/IBATIS-151?page=comments#action_12313409 ] 

Clinton Begin commented on IBATIS-151:
--------------------------------------


Object creation time?  iBATIS is really no different in this respect than if 
you were to build the object with JDBC.  Sure, iBATIS uses reflection, but that 
is negligable compared to the cost of hitting the database and the optimization 
of your queries.  Creating objects can be measured in just a few milliseconds, 
even with reflection.

Also, the funny thing about putting such statistical logging in place is that 
it would only serve to slow down the execution!  ;-)

Cheers,
Clinton

> Detailed logs for statement execution
> -------------------------------------
>
>          Key: IBATIS-151
>          URL: http://issues.apache.org/jira/browse/IBATIS-151
>      Project: iBatis for Java
>         Type: New Feature
>   Components: SQL Maps
>     Versions: 2.0.9b
>     Reporter: Vernon Wong
>     Priority: Minor

>
> There are currently no logs during the SQLMap execution that captures the 
> execution time of the statement and the object generation time by SQLMap.
> These performance logs can help to provide useful information on the 
> statements usage and performance, without the influence of object creation 
> time. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to