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.

Speed comparison of JPA database retrieval operations (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.812.47.2 1.1 3.64.24.55.4 
EclipseLink38.036.831.4failed  8.37.49.012.9 
Hibernate14.413.921.31.9  6.65.27.99.6 
OpenJPA3.53.70.98   2.52.03.411.4 
ObjectDB     100    31.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. EclipseLink with Derby embedded38.0
3. EclipseLink with H2 embedded36.8
4. EclipseLink with HSQLDB embedded31.4
5. ObjectDB server31.3
6. Hibernate with HSQLDB embedded21.3
7. Hibernate with Derby embedded14.4
8. Hibernate with H2 embedded13.9
9. EclipseLink with PostgreSQL server12.9
10. DataNucleus with H2 embedded12.4
11. DataNucleus with Derby embedded11.8
12. OpenJPA with PostgreSQL server11.4
13. Hibernate with PostgreSQL server9.6
14. EclipseLink with MySQL server9.0
15. EclipseLink with Derby server8.3
16. Hibernate with MySQL server7.9
17. EclipseLink with H2 server7.4

The Least Efficient (the Slowest):

18. DataNucleus with HSQLDB embedded7.2
19. Hibernate with Derby server6.6
20. DataNucleus with PostgreSQL server5.4
21. Hibernate with H2 server5.2
22. DataNucleus with MySQL server4.5
23. DataNucleus with H2 server4.2
24. OpenJPA with H2 embedded3.7
25. DataNucleus with Derby server3.6
26. OpenJPA with Derby embedded3.5
27. OpenJPA with MySQL server3.4
28. OpenJPA with Derby server2.5
29. OpenJPA with H2 server2.0
30. Hibernate with SQLite embedded1.9
31. DataNucleus with DB4O embedded1.1
32. OpenJPA with HSQLDB embedded0.98
33. EclipseLink with SQLite embedded0.0000

Total number of failed test runs (out of 2 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 All Passed All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll Passed2  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll PassedAll Passed 
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.