[hibernate-dev] taking timings

Juraci Paixao Krohling jcosta at redhat.com
Wed Jul 7 04:24:17 EDT 2010

On 07/06/2010 07:05 PM, Hardy Ferentschik wrote:
> 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.

If you just need timings for some methods, you can write a few Byteman 
rules to measure the time spent in those individual methods:


It attaches to the JVM as a Java Agent (like the profiling tools).

- Juca.

More information about the hibernate-dev mailing list