Performance benchmark for Hibernate


#1

Hi,

I am looking for a benchmark to try a tool that I have migrated. The idea is that I should observe how a default configuration of Hibernate, an “optimized” configuration and a configuration with my tool enabled performs. I want to see for example how many queries that were executed and how much time these executions took. I have read some research papers and they usually mention two benchmarks: TORPEDO and 007
However, searching for these on google gave me close to nothing. Do you know any good way to do some performance analysis? I know that hibernate has its built-in statistics, and I am going to use this in my evaluation when running against a target project, but I would like to have some more ways to evaluate the performance.


#2

You can write your own performance tests based on JMH.


#3

Thanks Vlad, I will definitely look into writing some performance tests using JMH.