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.87.95.7 0.68 5.82.72.77.7 
EclipseLink17.417.818.60.74  9.14.32.712.1 
Hibernate11.211.215.40.72  6.93.23.610.7 
OpenJPA12.411.613.0   6.43.14.86.3 
ObjectDB     100    38.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. ObjectDB server38.2
3. EclipseLink with HSQLDB embedded18.6
4. EclipseLink with H2 embedded17.8
5. EclipseLink with Derby embedded17.4
6. Hibernate with HSQLDB embedded15.4
7. OpenJPA with HSQLDB embedded13.0
8. OpenJPA with Derby embedded12.4
9. EclipseLink with PostgreSQL server12.1
10. OpenJPA with H2 embedded11.6
11. Hibernate with H2 embedded11.2
12. Hibernate with Derby embedded11.2
13. Hibernate with PostgreSQL server10.7
14. EclipseLink with Derby server9.1
15. DataNucleus with Derby embedded8.8
16. DataNucleus with H2 embedded7.9
17. DataNucleus with PostgreSQL server7.7

The Least Efficient (the Slowest):

18. Hibernate with Derby server6.9
19. OpenJPA with Derby server6.4
20. OpenJPA with PostgreSQL server6.3
21. DataNucleus with Derby server5.8
22. DataNucleus with HSQLDB embedded5.7
23. OpenJPA with MySQL server4.8
24. EclipseLink with H2 server4.3
25. Hibernate with MySQL server3.6
26. Hibernate with H2 server3.2
27. OpenJPA with H2 server3.1
28. DataNucleus with MySQL server2.7
29. DataNucleus with H2 server2.7
30. EclipseLink with MySQL server2.7
31. EclipseLink with SQLite embedded0.74
32. Hibernate with SQLite embedded0.72
33. DataNucleus with DB4O embedded0.68

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 Passed7  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  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.