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.711.68.8 failed 5.65.54.07.1 
EclipseLink38.431.426.1failed  14.114.05.620.6 
Hibernate19.315.920.6failed  10.68.57.014.2 
OpenJPA26.923.122.2   10.310.09.117.6 
ObjectDB     100    40.0

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 server40.0
3. EclipseLink with Derby embedded38.4
4. EclipseLink with H2 embedded31.4
5. OpenJPA with Derby embedded26.9
6. EclipseLink with HSQLDB embedded26.1
7. OpenJPA with H2 embedded23.1
8. OpenJPA with HSQLDB embedded22.2
9. Hibernate with HSQLDB embedded20.6
10. EclipseLink with PostgreSQL server20.6
11. Hibernate with Derby embedded19.3
12. OpenJPA with PostgreSQL server17.6
13. Hibernate with H2 embedded15.9
14. Hibernate with PostgreSQL server14.2
15. EclipseLink with Derby server14.1
16. EclipseLink with H2 server14.0
17. DataNucleus with Derby embedded11.7

The Least Efficient (the Slowest):

18. DataNucleus with H2 embedded11.6
19. Hibernate with Derby server10.6
20. OpenJPA with Derby server10.3
21. OpenJPA with H2 server10.0
22. OpenJPA with MySQL server9.1
23. DataNucleus with HSQLDB embedded8.8
24. Hibernate with H2 server8.5
25. DataNucleus with PostgreSQL server7.1
26. Hibernate with MySQL server7.0
27. DataNucleus with Derby server5.6
28. EclipseLink with MySQL server5.6
29. DataNucleus with H2 server5.5
30. DataNucleus with MySQL server4.0
31. DataNucleus with DB4O embedded0.0000
32. EclipseLink with SQLite embedded0.0000
33. Hibernate 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 Passed2  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.