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
DataNucleus23.23.00.96 failed 17.52.54.036.0 
EclipseLink35.55.26.30.55  28.23.01.236.2 
Hibernate31.24.04.20.50  25.32.74.434.8 
OpenJPA20.54.84.7   14.32.73.6failed 
ObjectDB     100    35.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. EclipseLink with PostgreSQL server36.2
3. DataNucleus with PostgreSQL server36.0
4. ObjectDB server35.7
5. EclipseLink with Derby embedded35.5
6. Hibernate with PostgreSQL server34.8
7. Hibernate with Derby embedded31.2
8. EclipseLink with Derby server28.2
9. Hibernate with Derby server25.3
10. DataNucleus with Derby embedded23.2
11. OpenJPA with Derby embedded20.5
12. DataNucleus with Derby server17.5
13. OpenJPA with Derby server14.3
14. EclipseLink with HSQLDB embedded6.3
15. EclipseLink with H2 embedded5.2
16. OpenJPA with H2 embedded4.8
17. OpenJPA with HSQLDB embedded4.7

The Least Efficient (the Slowest):

18. Hibernate with MySQL server4.4
19. Hibernate with HSQLDB embedded4.2
20. DataNucleus with MySQL server4.0
21. Hibernate with H2 embedded4.0
22. OpenJPA with MySQL server3.6
23. EclipseLink with H2 server3.0
24. DataNucleus with H2 embedded3.0
25. Hibernate with H2 server2.7
26. OpenJPA with H2 server2.7
27. DataNucleus with H2 server2.5
28. EclipseLink with MySQL server1.2
29. DataNucleus with HSQLDB embedded0.96
30. EclipseLink with SQLite embedded0.55
31. Hibernate with SQLite embedded0.50
32. DataNucleus with DB4O 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 PassedAll Passed 5 1All Passed11 
EclipseLinkAll PassedAll PassedAll Passed1  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed1  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.