[hibernate-dev] taking timings
hibernate at ferentschik.de
Wed Jul 7 11:38:41 EDT 2010
Thanks for the tip with japex and byteman (know I know what you can do
with it - always wondered)
In my case perf4j seems still to be the better fit. I am not trying to do
a one time profiling, but
rather implement a built-in component which can be queried for example via
JMX. Very much like the Statistics
bean/class in Core.
Given that I am not happy with everything in perf4j, I'll probably go with
and implement my own stuff maybe with some inspiration from perf4j :)
On Wed, 07 Jul 2010 10:24:17 +0200, Juraci Paixao Krohling
<jcosta at redhat.com> wrote:
> On 07/06/2010 07:05 PM, Hardy Ferentschik wrote:
>> I am looking into collection some statistics for HSearch. I am for
>> interested in measuring the Lucene query execution time and the
>> 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.
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
More information about the hibernate-dev