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
DataNucleus8.710.66.0 0.0041 0.552.50.811.9 
EclipseLink14.325.919.30.0007  4.15.20.355.4 
Hibernate10.110.115.51.3  3.42.81.34.5 
OpenJPA8.88.611.1   0.512.21.04.7 
ObjectDB     100    17.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. EclipseLink with H2 embedded25.9
3. EclipseLink with HSQLDB embedded19.3
4. ObjectDB server17.1
5. Hibernate with HSQLDB embedded15.5
6. EclipseLink with Derby embedded14.3
7. OpenJPA with HSQLDB embedded11.1
8. DataNucleus with H2 embedded10.6
9. Hibernate with H2 embedded10.1
10. Hibernate with Derby embedded10.1
11. OpenJPA with Derby embedded8.8
12. DataNucleus with Derby embedded8.7
13. OpenJPA with H2 embedded8.6
14. DataNucleus with HSQLDB embedded6.0
15. EclipseLink with PostgreSQL server5.4
16. EclipseLink with H2 server5.2
17. OpenJPA with PostgreSQL server4.7

The Least Efficient (the Slowest):

18. Hibernate with PostgreSQL server4.5
19. EclipseLink with Derby server4.1
20. Hibernate with Derby server3.4
21. Hibernate with H2 server2.8
22. DataNucleus with H2 server2.5
23. OpenJPA with H2 server2.2
24. DataNucleus with PostgreSQL server1.9
25. Hibernate with SQLite embedded1.3
26. Hibernate with MySQL server1.3
27. OpenJPA with MySQL server1.0
28. DataNucleus with MySQL server0.81
29. DataNucleus with Derby server0.55
30. OpenJPA with Derby server0.51
31. EclipseLink with MySQL server0.35
32. DataNucleus with DB4O embedded0.0041
33. EclipseLink with SQLite embedded0.0007

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 Passed5  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed1  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.