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.710.09.1 0.45 2.32.41.93.1 
EclipseLink4.418.719.30.45  3.44.42.45.9 
Hibernate4.515.219.50.54  3.24.92.75.3 
OpenJPA3.310.19.0   2.63.22.53.9 
ObjectDB     100    52.7

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 server52.7
3. Hibernate with HSQLDB embedded19.5
4. EclipseLink with HSQLDB embedded19.3
5. EclipseLink with H2 embedded18.7
6. Hibernate with H2 embedded15.2
7. OpenJPA with H2 embedded10.1
8. DataNucleus with H2 embedded10.0
9. DataNucleus with HSQLDB embedded9.1
10. OpenJPA with HSQLDB embedded9.0
11. EclipseLink with PostgreSQL server5.9
12. Hibernate with PostgreSQL server5.3
13. Hibernate with H2 server4.9
14. Hibernate with Derby embedded4.5
15. EclipseLink with Derby embedded4.4
16. EclipseLink with H2 server4.4
17. OpenJPA with PostgreSQL server3.9

The Least Efficient (the Slowest):

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

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.