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
DataNucleusfailed1.00.40 failed failed1.3failedfailed 
EclipseLink23.60.850.82failed  21.01.11.333.7 
Hibernate22.90.890.82failed  20.61.01.532.2 
OpenJPA26.30.990.95   21.91.01.4failed 
ObjectDB     100    51.5

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 server51.5
3. EclipseLink with PostgreSQL server33.7
4. Hibernate with PostgreSQL server32.2
5. OpenJPA with Derby embedded26.3
6. EclipseLink with Derby embedded23.6
7. Hibernate with Derby embedded22.9
8. OpenJPA with Derby server21.9
9. EclipseLink with Derby server21.0
10. Hibernate with Derby server20.6
11. Hibernate with MySQL server1.5
12. OpenJPA with MySQL server1.4
13. EclipseLink with MySQL server1.3
14. DataNucleus with H2 server1.3
15. EclipseLink with H2 server1.1
16. DataNucleus with H2 embedded1.0
17. OpenJPA with H2 server1.0

The Least Efficient (the Slowest):

18. Hibernate with H2 server1.0
19. OpenJPA with H2 embedded0.99
20. OpenJPA with HSQLDB embedded0.95
21. Hibernate with H2 embedded0.89
22. EclipseLink with H2 embedded0.85
23. Hibernate with HSQLDB embedded0.82
24. EclipseLink with HSQLDB embedded0.82
25. DataNucleus with HSQLDB embedded0.40
26. DataNucleus with Derby embedded0.0000
27. DataNucleus with DB4O embedded0.0000
28. DataNucleus with Derby server0.0000
29. DataNucleus with MySQL server0.0000
30. DataNucleus with PostgreSQL server0.0000
31. EclipseLink with SQLite embedded0.0000
32. Hibernate with SQLite 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
DataNucleus2All Passed1 2 2122 
EclipseLinkAll PassedAll PassedAll Passed2  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll Passed2  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.