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 per second (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
DataNucleus1,5374,1604,151 28.5 447758658576 
EclipseLink1,90712,87610,86238.8  1,3742,6259631,938 
Hibernate1,8038,1909,53542.1  1,2592,3139981,848 
OpenJPA1,7856,8775,434   1,2401,6279901,772 
ObjectDB     63,173    24,140

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 server38.2
3. EclipseLink with H2 embedded20.4
4. EclipseLink with HSQLDB embedded17.2
5. Hibernate with HSQLDB embedded15.1
6. Hibernate with H2 embedded13.0
7. OpenJPA with H2 embedded10.9
8. OpenJPA with HSQLDB embedded8.6
9. DataNucleus with H2 embedded6.6
10. DataNucleus with HSQLDB embedded6.6
11. EclipseLink with H2 server4.2
12. Hibernate with H2 server3.7
13. EclipseLink with PostgreSQL server3.1
14. EclipseLink with Derby embedded3.0
15. Hibernate with PostgreSQL server2.9
16. Hibernate with Derby embedded2.9
17. OpenJPA with Derby embedded2.8

The Least Efficient (the Slowest):

18. OpenJPA with PostgreSQL server2.8
19. OpenJPA with H2 server2.6
20. DataNucleus with Derby embedded2.4
21. EclipseLink with Derby server2.2
22. Hibernate with Derby server2.0
23. OpenJPA with Derby server2.0
24. Hibernate with MySQL server1.6
25. OpenJPA with MySQL server1.6
26. EclipseLink with MySQL server1.5
27. DataNucleus with H2 server1.2
28. DataNucleus with MySQL server1.0
29. DataNucleus with PostgreSQL server0.91
30. DataNucleus with Derby server0.71
31. Hibernate with SQLite embedded0.067
32. EclipseLink with SQLite embedded0.061
33. DataNucleus with DB4O embedded0.045