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 retrieval 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
DataNucleus7,3728,7294,856 5.1 483755246984 
EclipseLink10,11326,56720,2270.90  2,4734,28021635.9 
Hibernate5,9085,78115,2931.0  1,3911,37646134.2 
OpenJPA4.16.39.3   3.33.05.118.0 
ObjectDB     135,574    27,013

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 server19.9
3. EclipseLink with H2 embedded19.6
4. EclipseLink with HSQLDB embedded14.9
5. Hibernate with HSQLDB embedded11.3
6. EclipseLink with Derby embedded7.5
7. DataNucleus with H2 embedded6.4
8. DataNucleus with Derby embedded5.4
9. Hibernate with Derby embedded4.4
10. Hibernate with H2 embedded4.3
11. DataNucleus with HSQLDB embedded3.6
12. EclipseLink with H2 server3.2
13. EclipseLink with Derby server1.8
14. Hibernate with Derby server1.0
15. Hibernate with H2 server1.0
16. DataNucleus with PostgreSQL server0.73
17. DataNucleus with H2 server0.56

The Least Efficient (the Slowest):

18. DataNucleus with Derby server0.36
19. Hibernate with MySQL server0.34
20. DataNucleus with MySQL server0.18
21. EclipseLink with MySQL server0.16
22. EclipseLink with PostgreSQL server0.026
23. Hibernate with PostgreSQL server0.025
24. OpenJPA with PostgreSQL server0.013
25. OpenJPA with HSQLDB embedded0.0068
26. OpenJPA with H2 embedded0.0046
27. DataNucleus with DB4O embedded0.0038
28. OpenJPA with MySQL server0.0038
29. OpenJPA with Derby embedded0.0031
30. OpenJPA with Derby server0.0024
31. OpenJPA with H2 server0.0022
32. Hibernate with SQLite embedded0.0008
33. EclipseLink with SQLite embedded0.0007