[hibernate-dev] taking timings
Emmanuel Bernard
emmanuel at hibernate.org
Wed Jul 7 03:10:17 EDT 2010
Remember one class vs an entire dependency can be overkill (though you can fork the class you've found from elsewhere).
On 6 juil. 2010, at 19:05, Hardy Ferentschik wrote:
> 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
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
More information about the hibernate-dev
mailing list