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
DataNucleus2,44810,1677,523 31.4 1,4861,8211,3562,152 
EclipseLink2,92713,29514,36739.3  1,9902,9681,9303,892 
Hibernate3,1039,56317,25643.9  2,0122,4321,8823,739 
OpenJPA2,5669,0607,061   1,6271,9352,0732,747 
ObjectDB     52,977    18,643

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 server35.2
3. Hibernate with HSQLDB embedded32.6
4. EclipseLink with HSQLDB embedded27.1
5. EclipseLink with H2 embedded25.1
6. DataNucleus with H2 embedded19.2
7. Hibernate with H2 embedded18.1
8. OpenJPA with H2 embedded17.1
9. DataNucleus with HSQLDB embedded14.2
10. OpenJPA with HSQLDB embedded13.3
11. EclipseLink with PostgreSQL server7.3
12. Hibernate with PostgreSQL server7.1
13. Hibernate with Derby embedded5.9
14. EclipseLink with H2 server5.6
15. EclipseLink with Derby embedded5.5
16. OpenJPA with PostgreSQL server5.2
17. OpenJPA with Derby embedded4.8

The Least Efficient (the Slowest):

18. DataNucleus with Derby embedded4.6
19. Hibernate with H2 server4.6
20. DataNucleus with PostgreSQL server4.1
21. OpenJPA with MySQL server3.9
22. Hibernate with Derby server3.8
23. EclipseLink with Derby server3.8
24. OpenJPA with H2 server3.7
25. EclipseLink with MySQL server3.6
26. Hibernate with MySQL server3.6
27. DataNucleus with H2 server3.4
28. OpenJPA with Derby server3.1
29. DataNucleus with Derby server2.8
30. DataNucleus with MySQL server2.6
31. Hibernate with SQLite embedded0.083
32. EclipseLink with SQLite embedded0.074
33. DataNucleus with DB4O embedded0.059