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
DataNucleus2.86.75.9 1.4 2.12.31.53.5 
EclipseLink3.210.913.91.2  2.92.91.66.0 
Hibernate3.312.513.70.93  2.83.41.85.3 
OpenJPA2.77.96.9   2.52.41.54.5 
ObjectDB     100    80.6

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 server80.6
3. EclipseLink with HSQLDB embedded13.9
4. Hibernate with HSQLDB embedded13.7
5. Hibernate with H2 embedded12.5
6. EclipseLink with H2 embedded10.9
7. OpenJPA with H2 embedded7.9
8. OpenJPA with HSQLDB embedded6.9
9. DataNucleus with H2 embedded6.7
10. EclipseLink with PostgreSQL server6.0
11. DataNucleus with HSQLDB embedded5.9
12. Hibernate with PostgreSQL server5.3
13. OpenJPA with PostgreSQL server4.5
14. DataNucleus with PostgreSQL server3.5
15. Hibernate with H2 server3.4
16. Hibernate with Derby embedded3.3
17. EclipseLink with Derby embedded3.2

The Least Efficient (the Slowest):

18. EclipseLink with H2 server2.9
19. EclipseLink with Derby server2.9
20. Hibernate with Derby server2.8
21. DataNucleus with Derby embedded2.8
22. OpenJPA with Derby embedded2.7
23. OpenJPA with Derby server2.5
24. OpenJPA with H2 server2.4
25. DataNucleus with H2 server2.3
26. DataNucleus with Derby server2.1
27. Hibernate with MySQL server1.8
28. EclipseLink with MySQL server1.6
29. OpenJPA with MySQL server1.5
30. DataNucleus with MySQL server1.5
31. DataNucleus with DB4O embedded1.4
32. EclipseLink with SQLite embedded1.2
33. Hibernate with SQLite embedded0.93

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.