Hibernate

Hibernate Performance Summary

The following charts show the performance of Hibernate (in green) relatively to other JPA/DBMS combinations (in gray).

Position #1 on the X-Axis (the fastest) is about 100 times faster than position #32 (the slowest).
In the chart below the Y-Axis represents result score (maximum 100) in logarithmic scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB
In the chart below the Y-Axis represents result score (maximum 100) in linear scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB


The configurations in which Hibernate has been tested are listed in the following table:

 Database + JPA ProviderNormalized Score
100 - Best,  0 - Worst
Final Position
1 - Best,  32 - Worst
Failed Tests
1Hibernate with HSQLDB embedded15.13  (out of 32)6
2Hibernate with H2 embedded12.55  (out of 32)0
3Hibernate with Derby embedded11.47  (out of 32)0
4Hibernate with PostgreSQL server10.78  (out of 32)1
5Hibernate with MySQL server7.710  (out of 32)0
6Hibernate with Derby server5.219  (out of 32)0
7Hibernate with H2 server3.124  (out of 32)0
8Hibernate with SQLite embedded2.727  (out of 32)6

About Hibernate

Hibernate is the most popular object-relational mapping (ORM) library for Java. It was first released in 2002 by Gavin King, who later joined JBoss with Hibernate. In 2006 JBoss has been acquired by Red Hat that now owns also Hibernate.

Hibernate is available under the LGPL open source license.

In this benchmark Hibernate version 3.5.5 (which was released in 2010) has been tested.

Hibernate is the only JPA provider that was used in this benchmark with no byte code enhancement.