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
DataNucleus8.15.03.8 0.66 3.21.30.994.6 
EclipseLink8.313.610.70.17  4.92.90.792.1 
Hibernate6.55.88.00.19  4.61.81.31.6 
OpenJPA2.33.02.7   1.21.21.32.6 
ObjectDB     100    39.3

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.3
3. EclipseLink with H2 embedded13.6
4. EclipseLink with HSQLDB embedded10.7
5. EclipseLink with Derby embedded8.3
6. DataNucleus with Derby embedded8.1
7. Hibernate with HSQLDB embedded8.0
8. Hibernate with Derby embedded6.5
9. Hibernate with H2 embedded5.8
10. DataNucleus with H2 embedded5.0
11. EclipseLink with Derby server4.9
12. Hibernate with Derby server4.6
13. DataNucleus with PostgreSQL server4.6
14. DataNucleus with HSQLDB embedded3.8
15. DataNucleus with Derby server3.2
16. OpenJPA with H2 embedded3.0
17. EclipseLink with H2 server2.9

The Least Efficient (the Slowest):

18. OpenJPA with HSQLDB embedded2.7
19. OpenJPA with PostgreSQL server2.6
20. OpenJPA with Derby embedded2.3
21. EclipseLink with PostgreSQL server2.1
22. Hibernate with H2 server1.8
23. Hibernate with PostgreSQL server1.6
24. OpenJPA with MySQL server1.3
25. Hibernate with MySQL server1.3
26. DataNucleus with H2 server1.3
27. OpenJPA with H2 server1.2
28. OpenJPA with Derby server1.2
29. DataNucleus with MySQL server0.99
30. EclipseLink with MySQL server0.79
31. DataNucleus with DB4O embedded0.66
32. Hibernate with SQLite embedded0.19
33. EclipseLink with SQLite embedded0.17

Total number of failed test runs (out of 10 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 2 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll Passed4  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed4  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll Passed2 
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.