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
DataNucleus6.218.117.8 1.2 4.34.43.36.2 
EclipseLink5.825.824.60.87  4.76.93.98.4 
Hibernate5.924.124.20.55  4.46.24.07.7 
OpenJPA5.119.112.9   4.45.44.07.1 
ObjectDB     100    70.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 embedded100
2. ObjectDB server70.0
3. EclipseLink with H2 embedded25.8
4. EclipseLink with HSQLDB embedded24.6
5. Hibernate with HSQLDB embedded24.2
6. Hibernate with H2 embedded24.1
7. OpenJPA with H2 embedded19.1
8. DataNucleus with H2 embedded18.1
9. DataNucleus with HSQLDB embedded17.8
10. OpenJPA with HSQLDB embedded12.9
11. EclipseLink with PostgreSQL server8.4
12. Hibernate with PostgreSQL server7.7
13. OpenJPA with PostgreSQL server7.1
14. EclipseLink with H2 server6.9
15. DataNucleus with Derby embedded6.2
16. DataNucleus with PostgreSQL server6.2
17. Hibernate with H2 server6.2

The Least Efficient (the Slowest):

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

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