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
DataNucleus4,92812,06011,290 2,313 4,0743,5292,5306,498 
EclipseLink4,70814,25018,9611,655  4,3554,2082,5396,937 
Hibernate4,92818,78719,2081,027  4,1444,2802,6836,259 
OpenJPA4,17414,0309,304   4,1513,6622,4677,020 
ObjectDB     102,104    92,035

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 server90.1
3. Hibernate with HSQLDB embedded18.8
4. EclipseLink with HSQLDB embedded18.6
5. Hibernate with H2 embedded18.4
6. EclipseLink with H2 embedded14.0
7. OpenJPA with H2 embedded13.7
8. DataNucleus with H2 embedded11.8
9. DataNucleus with HSQLDB embedded11.1
10. OpenJPA with HSQLDB embedded9.1
11. OpenJPA with PostgreSQL server6.9
12. EclipseLink with PostgreSQL server6.8
13. DataNucleus with PostgreSQL server6.4
14. Hibernate with PostgreSQL server6.1
15. DataNucleus with Derby embedded4.8
16. Hibernate with Derby embedded4.8
17. EclipseLink with Derby embedded4.6

The Least Efficient (the Slowest):

18. EclipseLink with Derby server4.3
19. Hibernate with H2 server4.2
20. EclipseLink with H2 server4.1
21. OpenJPA with Derby embedded4.1
22. OpenJPA with Derby server4.1
23. Hibernate with Derby server4.1
24. DataNucleus with Derby server4.0
25. OpenJPA with H2 server3.6
26. DataNucleus with H2 server3.5
27. Hibernate with MySQL server2.6
28. EclipseLink with MySQL server2.5
29. DataNucleus with MySQL server2.5
30. OpenJPA with MySQL server2.4
31. DataNucleus with DB4O embedded2.3
32. EclipseLink with SQLite embedded1.6
33. Hibernate with SQLite embedded1.0