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.

Comparison of JPA/Database speed - the averages (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
DataNucleus5.710.19.7 0.028 1.73.21.43.0 
EclipseLink8.425.528.00.058  4.16.31.46.5 
Hibernate6.516.119.00.42  3.34.62.05.8 
OpenJPA7.217.518.5   2.34.91.96.3 
ObjectDB     100    26.2

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 HSQLDB embedded28.0
3. ObjectDB server26.2
4. EclipseLink with H2 embedded25.5
5. Hibernate with HSQLDB embedded19.0
6. OpenJPA with HSQLDB embedded18.5
7. OpenJPA with H2 embedded17.5
8. Hibernate with H2 embedded16.1
9. DataNucleus with H2 embedded10.1
10. DataNucleus with HSQLDB embedded9.7
11. EclipseLink with Derby embedded8.4
12. OpenJPA with Derby embedded7.2
13. EclipseLink with PostgreSQL server6.5
14. Hibernate with Derby embedded6.5
15. OpenJPA with PostgreSQL server6.3
16. EclipseLink with H2 server6.3
17. Hibernate with PostgreSQL server5.8

The Least Efficient (the Slowest):

18. DataNucleus with Derby embedded5.7
19. OpenJPA with H2 server4.9
20. Hibernate with H2 server4.6
21. EclipseLink with Derby server4.1
22. Hibernate with Derby server3.3
23. DataNucleus with H2 server3.2
24. DataNucleus with PostgreSQL server3.0
25. OpenJPA with Derby server2.3
26. Hibernate with MySQL server2.0
27. OpenJPA with MySQL server1.9
28. DataNucleus with Derby server1.7
29. DataNucleus with MySQL server1.4
30. EclipseLink with MySQL server1.4
31. Hibernate with SQLite embedded0.42
32. EclipseLink with SQLite embedded0.058
33. DataNucleus with DB4O embedded0.028

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
DataNucleusAll PassedAll PassedAll Passed 1 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll Passed3  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll Passed1 
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.