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
DataNucleus11.96.14.7 0.018 5.71.91.58.6 
EclipseLink11.315.712.80.070  8.43.60.693.7 
Hibernate10.27.29.80.092  8.22.61.82.8 
OpenJPA1.12.52.0   0.840.931.30.72 
ObjectDB     100    28.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 server28.3
3. EclipseLink with H2 embedded15.7
4. EclipseLink with HSQLDB embedded12.8
5. DataNucleus with Derby embedded11.9
6. EclipseLink with Derby embedded11.3
7. Hibernate with Derby embedded10.2
8. Hibernate with HSQLDB embedded9.8
9. DataNucleus with PostgreSQL server8.6
10. EclipseLink with Derby server8.4
11. Hibernate with Derby server8.2
12. Hibernate with H2 embedded7.2
13. DataNucleus with H2 embedded6.1
14. DataNucleus with Derby server5.7
15. DataNucleus with HSQLDB embedded4.7
16. EclipseLink with PostgreSQL server3.7
17. EclipseLink with H2 server3.6

The Least Efficient (the Slowest):

18. Hibernate with PostgreSQL server2.8
19. Hibernate with H2 server2.6
20. OpenJPA with H2 embedded2.5
21. OpenJPA with HSQLDB embedded2.0
22. DataNucleus with H2 server1.9
23. Hibernate with MySQL server1.8
24. DataNucleus with MySQL server1.5
25. OpenJPA with MySQL server1.3
26. OpenJPA with Derby embedded1.1
27. OpenJPA with H2 server0.93
28. OpenJPA with Derby server0.84
29. OpenJPA with PostgreSQL server0.72
30. EclipseLink with MySQL server0.69
31. Hibernate with SQLite embedded0.092
32. EclipseLink with SQLite embedded0.070
33. DataNucleus with DB4O embedded0.018

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 PassedAll Passed  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.