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
DataNucleus5,0618,1268,621 1,569 3,7103,4802,3924,541 
EclipseLink6,44816,22322,0071,526  5,3923,9072,6359,193 
Hibernate6,84917,36625,2811,839  5,5745,7273,0326,641 
OpenJPA4,47710,96510,692   4,1823,6692,5445,987 
ObjectDB     185,702    135,211

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 server72.8
3. Hibernate with HSQLDB embedded13.6
4. EclipseLink with HSQLDB embedded11.9
5. Hibernate with H2 embedded9.4
6. EclipseLink with H2 embedded8.7
7. OpenJPA with H2 embedded5.9
8. OpenJPA with HSQLDB embedded5.8
9. EclipseLink with PostgreSQL server5.0
10. DataNucleus with HSQLDB embedded4.6
11. DataNucleus with H2 embedded4.4
12. Hibernate with Derby embedded3.7
13. Hibernate with PostgreSQL server3.6
14. EclipseLink with Derby embedded3.5
15. OpenJPA with PostgreSQL server3.2
16. Hibernate with H2 server3.1
17. Hibernate with Derby server3.0

The Least Efficient (the Slowest):

18. EclipseLink with Derby server2.9
19. DataNucleus with Derby embedded2.7
20. DataNucleus with PostgreSQL server2.4
21. OpenJPA with Derby embedded2.4
22. OpenJPA with Derby server2.3
23. EclipseLink with H2 server2.1
24. DataNucleus with Derby server2.0
25. OpenJPA with H2 server2.0
26. DataNucleus with H2 server1.9
27. Hibernate with MySQL server1.6
28. EclipseLink with MySQL server1.4
29. OpenJPA with MySQL server1.4
30. DataNucleus with MySQL server1.3
31. Hibernate with SQLite embedded0.99
32. DataNucleus with DB4O embedded0.85
33. EclipseLink with SQLite embedded0.82