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.

Comparison of JPA/Database speed - the averages (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.811.217.0 failed 4.95.33.59.1 
EclipseLink17.621.120.81.1  10.36.73.024.3 
Hibernate12.315.218.8failed  9.45.23.621.9 
OpenJPA15.316.214.9   9.45.63.815.5 
ObjectDB     100    58.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. ObjectDB server58.5
3. EclipseLink with PostgreSQL server24.3
4. Hibernate with PostgreSQL server21.9
5. EclipseLink with H2 embedded21.1
6. EclipseLink with HSQLDB embedded20.8
7. Hibernate with HSQLDB embedded18.8
8. EclipseLink with Derby embedded17.6
9. DataNucleus with HSQLDB embedded17.0
10. OpenJPA with H2 embedded16.2
11. OpenJPA with PostgreSQL server15.5
12. OpenJPA with Derby embedded15.3
13. Hibernate with H2 embedded15.2
14. OpenJPA with HSQLDB embedded14.9
15. Hibernate with Derby embedded12.3
16. DataNucleus with H2 embedded11.2
17. EclipseLink with Derby server10.3

The Least Efficient (the Slowest):

18. Hibernate with Derby server9.4
19. OpenJPA with Derby server9.4
20. DataNucleus with PostgreSQL server9.1
21. DataNucleus with Derby embedded8.8
22. EclipseLink with H2 server6.7
23. OpenJPA with H2 server5.6
24. DataNucleus with H2 server5.3
25. Hibernate with H2 server5.2
26. DataNucleus with Derby server4.9
27. OpenJPA with MySQL server3.8
28. Hibernate with MySQL server3.6
29. DataNucleus with MySQL server3.5
30. EclipseLink with MySQL server3.0
31. EclipseLink with SQLite embedded1.1
32. DataNucleus with DB4O embedded0.0000
33. Hibernate with SQLite embedded0.0000

Total number of failed test runs (out of 10 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
DataNucleus643 10 6454 
EclipseLinkAll PassedAll PassedAll Passed8  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed10  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll Passed2 
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.