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
DataNucleus5.72.71.1 failed 4.22.22.331.2 
EclipseLink26.22.71.90.69  14.52.30.8633.2 
Hibernate15.92.31.90.40  12.82.32.230.5 
OpenJPA1.81.71.8   1.62.01.2failed 
ObjectDB     100    34.4

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 server34.4
3. EclipseLink with PostgreSQL server33.2
4. DataNucleus with PostgreSQL server31.2
5. Hibernate with PostgreSQL server30.5
6. EclipseLink with Derby embedded26.2
7. Hibernate with Derby embedded15.9
8. EclipseLink with Derby server14.5
9. Hibernate with Derby server12.8
10. DataNucleus with Derby embedded5.7
11. DataNucleus with Derby server4.2
12. DataNucleus with H2 embedded2.7
13. EclipseLink with H2 embedded2.7
14. DataNucleus with MySQL server2.3
15. Hibernate with H2 server2.3
16. Hibernate with H2 embedded2.3
17. EclipseLink with H2 server2.3

The Least Efficient (the Slowest):

18. DataNucleus with H2 server2.2
19. Hibernate with MySQL server2.2
20. OpenJPA with H2 server2.0
21. Hibernate with HSQLDB embedded1.9
22. EclipseLink with HSQLDB embedded1.9
23. OpenJPA with HSQLDB embedded1.8
24. OpenJPA with Derby embedded1.8
25. OpenJPA with H2 embedded1.7
26. OpenJPA with Derby server1.6
27. OpenJPA with MySQL server1.2
28. DataNucleus with HSQLDB embedded1.1
29. EclipseLink with MySQL server0.86
30. EclipseLink with SQLite embedded0.69
31. Hibernate with SQLite embedded0.40
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 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.