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
DataNucleus10.316.521.8 failed 3.04.52.48.9 
EclipseLink21.228.127.00.10  12.27.72.032.6 
Hibernate17.319.624.1failed  12.85.22.130.2 
OpenJPA19.820.419.0   10.75.92.018.7 
ObjectDB     100    50.8

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 server50.8
3. EclipseLink with PostgreSQL server32.6
4. Hibernate with PostgreSQL server30.2
5. EclipseLink with H2 embedded28.1
6. EclipseLink with HSQLDB embedded27.0
7. Hibernate with HSQLDB embedded24.1
8. DataNucleus with HSQLDB embedded21.8
9. EclipseLink with Derby embedded21.2
10. OpenJPA with H2 embedded20.4
11. OpenJPA with Derby embedded19.8
12. Hibernate with H2 embedded19.6
13. OpenJPA with HSQLDB embedded19.0
14. OpenJPA with PostgreSQL server18.7
15. Hibernate with Derby embedded17.3
16. DataNucleus with H2 embedded16.5
17. Hibernate with Derby server12.8

The Least Efficient (the Slowest):

18. EclipseLink with Derby server12.2
19. OpenJPA with Derby server10.7
20. DataNucleus with Derby embedded10.3
21. DataNucleus with PostgreSQL server8.9
22. EclipseLink with H2 server7.7
23. OpenJPA with H2 server5.9
24. Hibernate with H2 server5.2
25. DataNucleus with H2 server4.5
26. DataNucleus with Derby server3.0
27. DataNucleus with MySQL server2.4
28. Hibernate with MySQL server2.1
29. EclipseLink with MySQL server2.0
30. OpenJPA with MySQL server2.0
31. EclipseLink with SQLite embedded0.10
32. DataNucleus with DB4O embedded0.0000
33. Hibernate with SQLite embedded0.0000

Total number of failed test runs (out of 5 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
DataNucleus321 5 3221 
EclipseLinkAll PassedAll PassedAll Passed4  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed5  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll Passed1 
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.