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 persistence 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
DataNucleus3.812.511.7 0.71 2.43.22.24.5 
EclipseLink4.318.819.80.64  3.44.92.78.2 
Hibernate4.417.619.70.53  3.34.52.87.7 
OpenJPA3.712.910.4   2.93.42.65.9 
ObjectDB     99.0    68.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 embedded99.0
2. ObjectDB server68.0
3. EclipseLink with HSQLDB embedded19.8
4. Hibernate with HSQLDB embedded19.7
5. EclipseLink with H2 embedded18.8
6. Hibernate with H2 embedded17.6
7. OpenJPA with H2 embedded12.9
8. DataNucleus with H2 embedded12.5
9. DataNucleus with HSQLDB embedded11.7
10. OpenJPA with HSQLDB embedded10.4
11. EclipseLink with PostgreSQL server8.2
12. Hibernate with PostgreSQL server7.7
13. OpenJPA with PostgreSQL server5.9
14. EclipseLink with H2 server4.9
15. DataNucleus with PostgreSQL server4.5
16. Hibernate with H2 server4.5
17. Hibernate with Derby embedded4.4

The Least Efficient (the Slowest):

18. EclipseLink with Derby embedded4.3
19. DataNucleus with Derby embedded3.8
20. OpenJPA with Derby embedded3.7
21. OpenJPA with H2 server3.4
22. EclipseLink with Derby server3.4
23. Hibernate with Derby server3.3
24. DataNucleus with H2 server3.2
25. OpenJPA with Derby server2.9
26. Hibernate with MySQL server2.8
27. EclipseLink with MySQL server2.7
28. OpenJPA with MySQL server2.6
29. DataNucleus with Derby server2.4
30. DataNucleus with MySQL server2.2
31. DataNucleus with DB4O embedded0.71
32. EclipseLink with SQLite embedded0.64
33. Hibernate with SQLite embedded0.53

Total number of failed test runs (out of 12 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 4 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll PassedAll Passed  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.