Choose benchmark test, operation and batch mode:

When one or more of the All filters is selected - only average normalized results are displayed. Please read Running and Results for more details.

Comparison of JPA/Database speed - the averages (normalized score, higher is better)

 Derby
embedded
H2
embedded
HSQLDB
embedded
SQLite
embedded
DB4O
embedded
ObjectDB
embedded
Derby
server
H2
server
MySQL
server
PostgreSQL
server
ObjectDB
server
DataNucleus6.28.97.6 0.94 2.83.32.64.0 
EclipseLink17.823.526.50.58  6.16.03.28.6 
Hibernate7.814.518.00.69  4.74.63.26.8 
OpenJPA9.617.620.0   5.15.14.38.0 
ObjectDB     100    44.2

Performance comparison chart - The Y-Axis represents normalized score in logarithmic scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB

Performance comparison chart - The Y-Axis represents normalized score in linear scale - higher is better:
JPA performance benchmark comparision Hibernate, EclipseLink, OpenJPA, DataNucleus, ObjectDB

Best and Worst JPA/Database Performer in this comparison

The Most Efficient (the Fastest):

1. ObjectDB embedded100
2. ObjectDB server44.2
3. EclipseLink with HSQLDB embedded26.5
4. EclipseLink with H2 embedded23.5
5. OpenJPA with HSQLDB embedded20.0
6. Hibernate with HSQLDB embedded18.0
7. EclipseLink with Derby embedded17.8
8. OpenJPA with H2 embedded17.6
9. Hibernate with H2 embedded14.5
10. OpenJPA with Derby embedded9.6
11. DataNucleus with H2 embedded8.9
12. EclipseLink with PostgreSQL server8.6
13. OpenJPA with PostgreSQL server8.0
14. Hibernate with Derby embedded7.8
15. DataNucleus with HSQLDB embedded7.6
16. Hibernate with PostgreSQL server6.8
17. DataNucleus with Derby embedded6.2

The Least Efficient (the Slowest):

18. EclipseLink with Derby server6.1
19. EclipseLink with H2 server6.0
20. OpenJPA with H2 server5.1
21. OpenJPA with Derby server5.1
22. Hibernate with Derby server4.7
23. Hibernate with H2 server4.6
24. OpenJPA with MySQL server4.3
25. DataNucleus with PostgreSQL server4.0
26. DataNucleus with H2 server3.3
27. Hibernate with MySQL server3.2
28. EclipseLink with MySQL server3.2
29. DataNucleus with Derby server2.8
30. DataNucleus with MySQL server2.6
31. DataNucleus with DB4O embedded0.94
32. Hibernate with SQLite embedded0.69
33. EclipseLink with SQLite embedded0.58

Total number of failed test runs (out of 10 tests in total) in this page results

 Derby
embedded
H2
embedded
HSQLDB
embedded
SQLite
embedded
DB4O
embedded
ObjectDB
embedded
Derby
server
H2
server
MySQL
server
PostgreSQL
server
ObjectDB
server
DataNucleusAll PassedAll PassedAll Passed 2 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll Passed7  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll Passed2 
ObjectDB     All Passed    All Passed

Notes: Failed test runs are not included in any average score calculation. Click on failure numbers to see exception stack traces.