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.612.37.3 0.89 3.84.95.35.3 
EclipseLink40.831.829.7failed  8.26.98.512.6 
Hibernate13.213.016.72.1  6.44.87.68.9 
OpenJPA19.126.032.9   6.86.512.911.8 
ObjectDB     100    36.8

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 embedded40.8
3. ObjectDB server36.8
4. OpenJPA with HSQLDB embedded32.9
5. EclipseLink with H2 embedded31.8
6. EclipseLink with HSQLDB embedded29.7
7. OpenJPA with H2 embedded26.0
8. OpenJPA with Derby embedded19.1
9. Hibernate with HSQLDB embedded16.7
10. Hibernate with Derby embedded13.2
11. Hibernate with H2 embedded13.0
12. OpenJPA with MySQL server12.9
13. EclipseLink with PostgreSQL server12.6
14. DataNucleus with H2 embedded12.3
15. OpenJPA with PostgreSQL server11.8
16. DataNucleus with Derby embedded11.6
17. Hibernate with PostgreSQL server8.9

The Least Efficient (the Slowest):

18. EclipseLink with MySQL server8.5
19. EclipseLink with Derby server8.2
20. Hibernate with MySQL server7.6
21. DataNucleus with HSQLDB embedded7.3
22. EclipseLink with H2 server6.9
23. OpenJPA with Derby server6.8
24. OpenJPA with H2 server6.5
25. Hibernate with Derby server6.4
26. DataNucleus with PostgreSQL server5.3
27. DataNucleus with MySQL server5.3
28. DataNucleus with H2 server4.9
29. Hibernate with H2 server4.8
30. DataNucleus with Derby server3.8
31. Hibernate with SQLite embedded2.1
32. DataNucleus with DB4O embedded0.89
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.