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.56.95.4 0.63 2.52.62.18.7 
EclipseLink16.119.218.40.53  7.04.42.912.7 
Hibernate8.711.014.60.77  5.83.73.110.9 
OpenJPA2.54.32.9   2.02.01.86.2 
ObjectDB     100    39.3

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 server39.3
3. EclipseLink with H2 embedded19.2
4. EclipseLink with HSQLDB embedded18.4
5. EclipseLink with Derby embedded16.1
6. Hibernate with HSQLDB embedded14.6
7. EclipseLink with PostgreSQL server12.7
8. Hibernate with H2 embedded11.0
9. Hibernate with PostgreSQL server10.9
10. DataNucleus with PostgreSQL server8.7
11. Hibernate with Derby embedded8.7
12. EclipseLink with Derby server7.0
13. DataNucleus with H2 embedded6.9
14. OpenJPA with PostgreSQL server6.2
15. Hibernate with Derby server5.8
16. DataNucleus with Derby embedded5.5
17. DataNucleus with HSQLDB embedded5.4

The Least Efficient (the Slowest):

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

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.