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
DataNucleus13.113.79.2 1.8 6.36.36.68.3 
EclipseLink42.131.129.3failed  10.08.310.514.1 
Hibernate13.111.616.01.5  7.25.69.09.4 
OpenJPA14.717.117.6   8.46.112.414.1 
ObjectDB     100    48.1

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 server48.1
3. EclipseLink with Derby embedded42.1
4. EclipseLink with H2 embedded31.1
5. EclipseLink with HSQLDB embedded29.3
6. OpenJPA with HSQLDB embedded17.6
7. OpenJPA with H2 embedded17.1
8. Hibernate with HSQLDB embedded16.0
9. OpenJPA with Derby embedded14.7
10. OpenJPA with PostgreSQL server14.1
11. EclipseLink with PostgreSQL server14.1
12. DataNucleus with H2 embedded13.7
13. DataNucleus with Derby embedded13.1
14. Hibernate with Derby embedded13.1
15. OpenJPA with MySQL server12.4
16. Hibernate with H2 embedded11.6
17. EclipseLink with MySQL server10.5

The Least Efficient (the Slowest):

18. EclipseLink with Derby server10.0
19. Hibernate with PostgreSQL server9.4
20. DataNucleus with HSQLDB embedded9.2
21. Hibernate with MySQL server9.0
22. OpenJPA with Derby server8.4
23. DataNucleus with PostgreSQL server8.3
24. EclipseLink with H2 server8.3
25. Hibernate with Derby server7.2
26. DataNucleus with MySQL server6.6
27. DataNucleus with Derby server6.3
28. DataNucleus with H2 server6.3
29. OpenJPA with H2 server6.1
30. Hibernate with H2 server5.6
31. DataNucleus with DB4O embedded1.8
32. Hibernate with SQLite embedded1.5
33. EclipseLink with SQLite embedded0.0000

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