[hibernate-dev] taking timings

Hardy Ferentschik hibernate at ferentschik.de
Tue Jul 6 13:05:26 EDT 2010


Hi,

I am looking into collection some statistics for HSearch. I am for example  
interested in measuring the  Lucene query execution time and the Hibernate  
Core "object loading" time.
I could just wrap the calls I am interested in System.nanoTime() or I  
could write a custom StopWatch class, but I was wondering whether there is  
some sort of library I could use.
I found perf4j (http://perf4j.codehaus.org). Does anyone have experience  
with this library? It looks nice, but I don't like it that the logging  
approach it takes seems to
be bound to log4j atm.

Comments?

--Hardy




More information about the hibernate-dev mailing list