Re: [hibernate-dev] taking timings

2010-07-08 Thread Juraci Paixao Krohling
On 07/07/2010 05:38 PM, Hardy Ferentschik wrote: > byteman (know I know what you can do > with it - always wondered) A bit off topic, but it might be useful for people writing test cases: byteman can be used (among other things) to "inject" exceptions which may be difficult to reproduce otherwis

Re: [hibernate-dev] taking timings

2010-07-07 Thread Hardy Ferentschik
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 lik

Re: [hibernate-dev] taking timings

2010-07-07 Thread Juraci Paixao Krohling
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 By

Re: [hibernate-dev] taking timings

2010-07-07 Thread Alaa Mohsen
I would like to suggest Japex (https://japex.dev.java.net/) On Wed, Jul 7, 2010 at 10:10 AM, Emmanuel Bernard wrote: > 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:

Re: [hibernate-dev] taking timings

2010-07-07 Thread Emmanuel Bernard
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 Lucen

[hibernate-dev] taking timings

2010-07-06 Thread Hardy Ferentschik
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, bu