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.

Speed comparison of JPA database query operations (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
DataNucleus26.33.71.0 failed 13.62.33.119.8 
EclipseLink21.23.22.30.29  18.12.60.927.7 
Hibernate20.12.92.60.39  17.22.23.65.5 
OpenJPA6.11.51.2   1.81.62.9failed 
ObjectDB     100    36.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 server36.3
3. DataNucleus with Derby embedded26.3
4. EclipseLink with Derby embedded21.2
5. Hibernate with Derby embedded20.1
6. DataNucleus with PostgreSQL server19.8
7. EclipseLink with Derby server18.1
8. Hibernate with Derby server17.2
9. DataNucleus with Derby server13.6
10. EclipseLink with PostgreSQL server7.7
11. OpenJPA with Derby embedded6.1
12. Hibernate with PostgreSQL server5.5
13. DataNucleus with H2 embedded3.7
14. Hibernate with MySQL server3.6
15. EclipseLink with H2 embedded3.2
16. DataNucleus with MySQL server3.1
17. OpenJPA with MySQL server2.9

The Least Efficient (the Slowest):

18. Hibernate with H2 embedded2.9
19. EclipseLink with H2 server2.6
20. Hibernate with HSQLDB embedded2.6
21. EclipseLink with HSQLDB embedded2.3
22. DataNucleus with H2 server2.3
23. Hibernate with H2 server2.2
24. OpenJPA with Derby server1.8
25. OpenJPA with H2 server1.6
26. OpenJPA with H2 embedded1.5
27. OpenJPA with HSQLDB embedded1.2
28. DataNucleus with HSQLDB embedded1.0
29. EclipseLink with MySQL server0.92
30. Hibernate with SQLite embedded0.39
31. EclipseLink with SQLite embedded0.29
32. DataNucleus with DB4O embedded0.0000
33. OpenJPA with PostgreSQL server0.0000

Total number of failed test runs (out of 2 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 Passed1  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed1  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.