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,6518,5228,603 28.0 1,5791,8501,4062,103 
EclipseLink2,41313,15210,68340.0  1,8203,4031,8613,481 
Hibernate2,45510,43710,33034.1  1,6602,8521,8813,235 
OpenJPA2,1238,5175,827   1,6562,5491,9482,576 
ObjectDB     34,955    17,435

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 server49.9
3. EclipseLink with H2 embedded37.6
4. EclipseLink with HSQLDB embedded30.6
5. Hibernate with H2 embedded29.9
6. Hibernate with HSQLDB embedded29.6
7. DataNucleus with HSQLDB embedded24.6
8. DataNucleus with H2 embedded24.4
9. OpenJPA with H2 embedded24.4
10. OpenJPA with HSQLDB embedded16.7
11. EclipseLink with PostgreSQL server10.0
12. EclipseLink with H2 server9.7
13. Hibernate with PostgreSQL server9.3
14. Hibernate with H2 server8.2
15. DataNucleus with Derby embedded7.6
16. OpenJPA with PostgreSQL server7.4
17. OpenJPA with H2 server7.3

The Least Efficient (the Slowest):

18. Hibernate with Derby embedded7.0
19. EclipseLink with Derby embedded6.9
20. OpenJPA with Derby embedded6.1
21. DataNucleus with PostgreSQL server6.0
22. OpenJPA with MySQL server5.6
23. Hibernate with MySQL server5.4
24. EclipseLink with MySQL server5.3
25. DataNucleus with H2 server5.3
26. EclipseLink with Derby server5.2
27. Hibernate with Derby server4.8
28. OpenJPA with Derby server4.7
29. DataNucleus with Derby server4.5
30. DataNucleus with MySQL server4.0
31. EclipseLink with SQLite embedded0.11
32. Hibernate with SQLite embedded0.098
33. DataNucleus with DB4O embedded0.080