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
DataNucleus10.912.27.6 0.91 3.44.43.75.1 
EclipseLink28.228.524.30.0007  7.06.75.49.8 
Hibernate11.610.915.71.4  5.34.25.27.0 
OpenJPA11.712.814.4   4.44.26.79.4 
ObjectDB     100    32.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 server32.6
3. EclipseLink with H2 embedded28.5
4. EclipseLink with Derby embedded28.2
5. EclipseLink with HSQLDB embedded24.3
6. Hibernate with HSQLDB embedded15.7
7. OpenJPA with HSQLDB embedded14.4
8. OpenJPA with H2 embedded12.8
9. DataNucleus with H2 embedded12.2
10. OpenJPA with Derby embedded11.7
11. Hibernate with Derby embedded11.6
12. DataNucleus with Derby embedded10.9
13. Hibernate with H2 embedded10.9
14. EclipseLink with PostgreSQL server9.8
15. OpenJPA with PostgreSQL server9.4
16. DataNucleus with HSQLDB embedded7.6
17. EclipseLink with Derby server7.0

The Least Efficient (the Slowest):

18. Hibernate with PostgreSQL server7.0
19. EclipseLink with H2 server6.7
20. OpenJPA with MySQL server6.7
21. EclipseLink with MySQL server5.4
22. Hibernate with Derby server5.3
23. Hibernate with MySQL server5.2
24. DataNucleus with PostgreSQL server5.1
25. OpenJPA with Derby server4.4
26. DataNucleus with H2 server4.4
27. OpenJPA with H2 server4.2
28. Hibernate with H2 server4.2
29. DataNucleus with MySQL server3.7
30. DataNucleus with Derby server3.4
31. Hibernate with SQLite embedded1.4
32. DataNucleus with DB4O embedded0.91
33. EclipseLink with SQLite embedded0.0007

Total number of failed test runs (out of 12 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 4 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll Passed11  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed3  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.