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
DataNucleus4.918.317.4 0.059 2.74.22.95.6 
EclipseLink5.326.625.70.11  3.86.83.810.4 
Hibernate5.622.625.60.12  3.85.63.910.2 
OpenJPA4.717.913.9   3.34.53.77.4 
ObjectDB     98.1    55.4

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 embedded98.1
2. ObjectDB server55.4
3. EclipseLink with H2 embedded26.6
4. EclipseLink with HSQLDB embedded25.7
5. Hibernate with HSQLDB embedded25.6
6. Hibernate with H2 embedded22.6
7. DataNucleus with H2 embedded18.3
8. OpenJPA with H2 embedded17.9
9. DataNucleus with HSQLDB embedded17.4
10. OpenJPA with HSQLDB embedded13.9
11. EclipseLink with PostgreSQL server10.4
12. Hibernate with PostgreSQL server10.2
13. OpenJPA with PostgreSQL server7.4
14. EclipseLink with H2 server6.8
15. DataNucleus with PostgreSQL server5.6
16. Hibernate with Derby embedded5.6
17. Hibernate with H2 server5.6

The Least Efficient (the Slowest):

18. EclipseLink with Derby embedded5.3
19. DataNucleus with Derby embedded4.9
20. OpenJPA with Derby embedded4.7
21. OpenJPA with H2 server4.5
22. DataNucleus with H2 server4.2
23. Hibernate with MySQL server3.9
24. EclipseLink with Derby server3.8
25. EclipseLink with MySQL server3.8
26. Hibernate with Derby server3.8
27. OpenJPA with MySQL server3.7
28. OpenJPA with Derby server3.3
29. DataNucleus with MySQL server2.9
30. DataNucleus with Derby server2.7
31. Hibernate with SQLite embedded0.12
32. EclipseLink with SQLite embedded0.11
33. DataNucleus with DB4O embedded0.059

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