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
DataNucleus11.610.37.6 0.022 8.73.22.412.0 
EclipseLink17.322.320.90.66  12.55.21.316.3 
Hibernate15.514.220.20.63  9.53.63.715.7 
OpenJPA15.813.014.3   7.23.33.65.1 
ObjectDB     100    25.6

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 server25.6
3. EclipseLink with H2 embedded22.3
4. EclipseLink with HSQLDB embedded20.9
5. Hibernate with HSQLDB embedded20.2
6. EclipseLink with Derby embedded17.3
7. EclipseLink with PostgreSQL server16.3
8. OpenJPA with Derby embedded15.8
9. Hibernate with PostgreSQL server15.7
10. Hibernate with Derby embedded15.5
11. OpenJPA with HSQLDB embedded14.3
12. Hibernate with H2 embedded14.2
13. OpenJPA with H2 embedded13.0
14. EclipseLink with Derby server12.5
15. DataNucleus with PostgreSQL server12.0
16. DataNucleus with Derby embedded11.6
17. DataNucleus with H2 embedded10.3

The Least Efficient (the Slowest):

18. Hibernate with Derby server9.5
19. DataNucleus with Derby server8.7
20. DataNucleus with HSQLDB embedded7.6
21. OpenJPA with Derby server7.2
22. EclipseLink with H2 server5.2
23. OpenJPA with PostgreSQL server5.1
24. Hibernate with MySQL server3.7
25. Hibernate with H2 server3.6
26. OpenJPA with MySQL server3.6
27. OpenJPA with H2 server3.3
28. DataNucleus with H2 server3.2
29. DataNucleus with MySQL server2.4
30. EclipseLink with MySQL server1.3
31. EclipseLink with SQLite embedded0.66
32. Hibernate with SQLite embedded0.63
33. DataNucleus with DB4O embedded0.022

Total number of failed test runs (out of 5 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 1 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll Passed3  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll Passed1 
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.