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 query operations (normalized score, 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
DataNucleus6.51.60.60 failed 2.91.21.74.5 
EclipseLink17.75.97.4failed  6.42.50.548.3 
Hibernate7.63.05.20.31  4.81.91.46.6 
OpenJPA9.95.57.6   5.62.41.5failed 
ObjectDB     100    39.7

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 server39.7
3. EclipseLink with Derby embedded17.7
4. OpenJPA with Derby embedded9.9
5. EclipseLink with PostgreSQL server8.3
6. OpenJPA with HSQLDB embedded7.6
7. Hibernate with Derby embedded7.6
8. EclipseLink with HSQLDB embedded7.4
9. Hibernate with PostgreSQL server6.6
10. DataNucleus with Derby embedded6.5
11. EclipseLink with Derby server6.4
12. EclipseLink with H2 embedded5.9
13. OpenJPA with Derby server5.6
14. OpenJPA with H2 embedded5.5
15. Hibernate with HSQLDB embedded5.2
16. Hibernate with Derby server4.8
17. DataNucleus with PostgreSQL server4.5

The Least Efficient (the Slowest):

18. Hibernate with H2 embedded3.0
19. DataNucleus with Derby server2.9
20. EclipseLink with H2 server2.5
21. OpenJPA with H2 server2.4
22. Hibernate with H2 server1.9
23. DataNucleus with MySQL server1.7
24. DataNucleus with H2 embedded1.6
25. OpenJPA with MySQL server1.5
26. Hibernate with MySQL server1.4
27. DataNucleus with H2 server1.2
28. DataNucleus with HSQLDB embedded0.60
29. EclipseLink with MySQL server0.54
30. Hibernate with SQLite embedded0.31
31. DataNucleus with DB4O embedded0.0000
32. EclipseLink with SQLite embedded0.0000
33. OpenJPA with PostgreSQL server0.0000

Total number of failed test runs (out of 5 tests in total) in this page results

 Derby
embedded
H2
embedded
HSQLDB
embedded
SQLite
embedded
DB4O
embedded
ObjectDB
embedded
Derby
server
H2
server
MySQL
server
PostgreSQL
server
ObjectDB
server
DataNucleus1All Passed1 5 1111 
EclipseLinkAll PassedAll PassedAll Passed5  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed2  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll Passed5 
ObjectDB     All Passed    All Passed

Notes: Failed test runs are not included in any average score calculation. Click on failure numbers to see exception stack traces.