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.913.38.4 0.90 3.43.95.14.6 
EclipseLink37.529.730.2failed  8.86.88.012.0 
Hibernate15.315.020.61.5  6.14.67.08.5 
OpenJPA18.720.925.9   6.25.212.910.9 
ObjectDB     100    30.5

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 embedded37.5
3. ObjectDB server30.5
4. EclipseLink with HSQLDB embedded30.2
5. EclipseLink with H2 embedded29.7
6. OpenJPA with HSQLDB embedded25.9
7. OpenJPA with H2 embedded20.9
8. Hibernate with HSQLDB embedded20.6
9. OpenJPA with Derby embedded18.7
10. Hibernate with Derby embedded15.3
11. Hibernate with H2 embedded15.0
12. DataNucleus with H2 embedded13.3
13. OpenJPA with MySQL server12.9
14. EclipseLink with PostgreSQL server12.0
15. OpenJPA with PostgreSQL server10.9
16. DataNucleus with Derby embedded10.9
17. EclipseLink with Derby server8.8

The Least Efficient (the Slowest):

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