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
DataNucleus4.38.34.7 failed 1.22.91.32.3 
EclipseLink2.414.511.00.57  0.882.00.791.2 
Hibernate1.87.37.20.55  1.11.60.781.1 
OpenJPA1.23.03.5   0.340.690.430.55 
ObjectDB     98.5    43.5

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 embedded98.5
2. ObjectDB server43.5
3. EclipseLink with H2 embedded14.5
4. EclipseLink with HSQLDB embedded11.0
5. DataNucleus with H2 embedded8.3
6. Hibernate with H2 embedded7.3
7. Hibernate with HSQLDB embedded7.2
8. DataNucleus with HSQLDB embedded4.7
9. DataNucleus with Derby embedded4.3
10. OpenJPA with HSQLDB embedded3.5
11. OpenJPA with H2 embedded3.0
12. DataNucleus with H2 server2.9
13. EclipseLink with Derby embedded2.4
14. DataNucleus with PostgreSQL server2.3
15. EclipseLink with H2 server2.0
16. Hibernate with Derby embedded1.8
17. Hibernate with H2 server1.6

The Least Efficient (the Slowest):

18. DataNucleus with MySQL server1.3
19. DataNucleus with Derby server1.2
20. EclipseLink with PostgreSQL server1.2
21. OpenJPA with Derby embedded1.2
22. Hibernate with PostgreSQL server1.1
23. Hibernate with Derby server1.1
24. EclipseLink with Derby server0.88
25. EclipseLink with MySQL server0.79
26. Hibernate with MySQL server0.78
27. OpenJPA with H2 server0.69
28. EclipseLink with SQLite embedded0.57
29. Hibernate with SQLite embedded0.55
30. OpenJPA with PostgreSQL server0.55
31. OpenJPA with MySQL server0.43
32. OpenJPA with Derby server0.34
33. DataNucleus with DB4O embedded0.0000

Total number of failed test runs (out of 8 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 8 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll Passed6  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll PassedAll Passed 
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.