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,7114,8403,615 1,738 6091,106826654 
EclipseLink3,01713,82714,2361,129  2,5292,6041,1883,349 
Hibernate3,11611,71414,2431,197  2,2911,9511,2452,944 
OpenJPA3,2998,5319,227   2,9522,6681,1843,760 
ObjectDB     173,385    100,142

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 server57.8
3. Hibernate with HSQLDB embedded8.2
4. EclipseLink with HSQLDB embedded8.2
5. EclipseLink with H2 embedded8.0
6. Hibernate with H2 embedded6.8
7. OpenJPA with HSQLDB embedded5.3
8. OpenJPA with H2 embedded4.9
9. DataNucleus with H2 embedded2.8
10. OpenJPA with PostgreSQL server2.2
11. DataNucleus with HSQLDB embedded2.1
12. EclipseLink with PostgreSQL server1.9
13. OpenJPA with Derby embedded1.9
14. Hibernate with Derby embedded1.8
15. EclipseLink with Derby embedded1.7
16. OpenJPA with Derby server1.7
17. Hibernate with PostgreSQL server1.7

The Least Efficient (the Slowest):

18. DataNucleus with Derby embedded1.6
19. OpenJPA with H2 server1.5
20. EclipseLink with H2 server1.5
21. EclipseLink with Derby server1.5
22. Hibernate with Derby server1.3
23. Hibernate with H2 server1.1
24. DataNucleus with DB4O embedded1.0
25. Hibernate with MySQL server0.72
26. Hibernate with SQLite embedded0.69
27. EclipseLink with MySQL server0.69
28. OpenJPA with MySQL server0.68
29. EclipseLink with SQLite embedded0.65
30. DataNucleus with H2 server0.64
31. DataNucleus with MySQL server0.48
32. DataNucleus with PostgreSQL server0.38
33. DataNucleus with Derby server0.35