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
DataNucleus6.67.65.5 1.9 3.93.53.85.1 
EclipseLink27.221.524.91.6  8.15.74.910.7 
Hibernate9.012.816.90.96  6.14.54.47.8 
OpenJPA12.017.721.6   7.85.46.69.7 
ObjectDB     100    62.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 server62.2
3. EclipseLink with Derby embedded27.2
4. EclipseLink with HSQLDB embedded24.9
5. OpenJPA with HSQLDB embedded21.6
6. EclipseLink with H2 embedded21.5
7. OpenJPA with H2 embedded17.7
8. Hibernate with HSQLDB embedded16.9
9. Hibernate with H2 embedded12.8
10. OpenJPA with Derby embedded12.0
11. EclipseLink with PostgreSQL server10.7
12. OpenJPA with PostgreSQL server9.7
13. Hibernate with Derby embedded9.0
14. EclipseLink with Derby server8.1
15. OpenJPA with Derby server7.8
16. Hibernate with PostgreSQL server7.8
17. DataNucleus with H2 embedded7.6

The Least Efficient (the Slowest):

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

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 Passed4  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.