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
DataNucleus7.45.910.6 failed 6.76.05.19.5 
EclipseLink13.914.214.62.1  8.45.74.016.0 
Hibernate7.310.913.5failed  6.05.25.013.6 
OpenJPA10.912.010.9   8.05.45.512.2 
ObjectDB     100    66.2

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 server66.2
3. EclipseLink with PostgreSQL server16.0
4. EclipseLink with HSQLDB embedded14.6
5. EclipseLink with H2 embedded14.2
6. EclipseLink with Derby embedded13.9
7. Hibernate with PostgreSQL server13.6
8. Hibernate with HSQLDB embedded13.5
9. OpenJPA with PostgreSQL server12.2
10. OpenJPA with H2 embedded12.0
11. Hibernate with H2 embedded10.9
12. OpenJPA with HSQLDB embedded10.9
13. OpenJPA with Derby embedded10.9
14. DataNucleus with HSQLDB embedded10.6
15. DataNucleus with PostgreSQL server9.5
16. EclipseLink with Derby server8.4
17. OpenJPA with Derby server8.0

The Least Efficient (the Slowest):

18. DataNucleus with Derby embedded7.4
19. Hibernate with Derby embedded7.3
20. DataNucleus with Derby server6.7
21. DataNucleus with H2 server6.0
22. Hibernate with Derby server6.0
23. DataNucleus with H2 embedded5.9
24. EclipseLink with H2 server5.7
25. OpenJPA with MySQL server5.5
26. OpenJPA with H2 server5.4
27. Hibernate with H2 server5.2
28. DataNucleus with MySQL server5.1
29. Hibernate with MySQL server5.0
30. EclipseLink with MySQL server4.0
31. EclipseLink with SQLite embedded2.1
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
DataNucleus322 5 3233 
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.