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
DataNucleus5.69.07.1 0.019 2.42.61.413.2 
EclipseLink14.023.519.50.38  7.74.91.115.9 
Hibernate9.712.217.00.63  6.64.01.815.0 
OpenJPA1.33.32.9   1.11.51.04.7 
ObjectDB     100    24.7

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 server24.7
3. EclipseLink with H2 embedded23.5
4. EclipseLink with HSQLDB embedded19.5
5. Hibernate with HSQLDB embedded17.0
6. EclipseLink with PostgreSQL server15.9
7. Hibernate with PostgreSQL server15.0
8. EclipseLink with Derby embedded14.0
9. DataNucleus with PostgreSQL server13.2
10. Hibernate with H2 embedded12.2
11. Hibernate with Derby embedded9.7
12. DataNucleus with H2 embedded9.0
13. EclipseLink with Derby server7.7
14. DataNucleus with HSQLDB embedded7.1
15. Hibernate with Derby server6.6
16. DataNucleus with Derby embedded5.6
17. EclipseLink with H2 server4.9

The Least Efficient (the Slowest):

18. OpenJPA with PostgreSQL server4.7
19. Hibernate with H2 server4.0
20. OpenJPA with H2 embedded3.3
21. OpenJPA with HSQLDB embedded2.9
22. DataNucleus with H2 server2.6
23. DataNucleus with Derby server2.4
24. Hibernate with MySQL server1.8
25. OpenJPA with H2 server1.5
26. DataNucleus with MySQL server1.4
27. OpenJPA with Derby embedded1.3
28. EclipseLink with MySQL server1.1
29. OpenJPA with Derby server1.1
30. OpenJPA with MySQL server1.0
31. Hibernate with SQLite embedded0.63
32. EclipseLink with SQLite embedded0.38
33. DataNucleus with DB4O embedded0.019

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.