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
DataNucleus12.915.88.3 failed 3.47.32.87.4 
EclipseLink4.218.011.4failed  0.671.50.650.54 
Hibernate2.83.34.10.72  1.10.780.630.70 
OpenJPA1.11.22.1   0.230.440.310.31 
ObjectDB     100    22.3

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 server22.3
3. EclipseLink with H2 embedded18.0
4. DataNucleus with H2 embedded15.8
5. DataNucleus with Derby embedded12.9
6. EclipseLink with HSQLDB embedded11.4
7. DataNucleus with HSQLDB embedded8.3
8. DataNucleus with PostgreSQL server7.4
9. DataNucleus with H2 server7.3
10. EclipseLink with Derby embedded4.2
11. Hibernate with HSQLDB embedded4.1
12. DataNucleus with Derby server3.4
13. Hibernate with H2 embedded3.3
14. Hibernate with Derby embedded2.8
15. DataNucleus with MySQL server2.8
16. OpenJPA with HSQLDB embedded2.1
17. EclipseLink with H2 server1.5

The Least Efficient (the Slowest):

18. OpenJPA with H2 embedded1.2
19. Hibernate with Derby server1.1
20. OpenJPA with Derby embedded1.1
21. Hibernate with H2 server0.78
22. Hibernate with SQLite embedded0.72
23. Hibernate with PostgreSQL server0.70
24. EclipseLink with Derby server0.67
25. EclipseLink with MySQL server0.65
26. Hibernate with MySQL server0.63
27. EclipseLink with PostgreSQL server0.54
28. OpenJPA with H2 server0.44
29. OpenJPA with MySQL server0.31
30. OpenJPA with PostgreSQL server0.31
31. OpenJPA with Derby server0.23
32. DataNucleus with DB4O embedded0.0000
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 2 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.