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
DataNucleus6.15.63.9 1.3 2.92.33.13.4 
EclipseLink17.513.316.30.90  5.63.44.27.8 
Hibernate6.98.310.60.81  4.32.83.65.6 
OpenJPA9.010.211.8   5.53.06.07.5 
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 Derby embedded17.5
4. EclipseLink with HSQLDB embedded16.3
5. EclipseLink with H2 embedded13.3
6. OpenJPA with HSQLDB embedded11.8
7. Hibernate with HSQLDB embedded10.6
8. OpenJPA with H2 embedded10.2
9. OpenJPA with Derby embedded9.0
10. Hibernate with H2 embedded8.3
11. EclipseLink with PostgreSQL server7.8
12. OpenJPA with PostgreSQL server7.5
13. Hibernate with Derby embedded6.9
14. DataNucleus with Derby embedded6.1
15. OpenJPA with MySQL server6.0
16. DataNucleus with H2 embedded5.6
17. EclipseLink with Derby server5.6

The Least Efficient (the Slowest):

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

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
DataNucleusAll PassedAll PassedAll Passed 1 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll Passed4  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  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.