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
DataNucleus4.00.910.32 failed 2.50.751.23.2 
EclipseLink28.417.927.40.0008  7.45.50.395.1 
Hibernate10.18.615.80.21  5.63.81.24.4 
OpenJPA12.118.524.9   7.05.71.2failed 
ObjectDB     100    33.9

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 server33.9
3. EclipseLink with Derby embedded28.4
4. EclipseLink with HSQLDB embedded27.4
5. OpenJPA with HSQLDB embedded24.9
6. OpenJPA with H2 embedded18.5
7. EclipseLink with H2 embedded17.9
8. Hibernate with HSQLDB embedded15.8
9. OpenJPA with Derby embedded12.1
10. Hibernate with Derby embedded10.1
11. Hibernate with H2 embedded8.6
12. EclipseLink with Derby server7.4
13. OpenJPA with Derby server7.0
14. OpenJPA with H2 server5.7
15. Hibernate with Derby server5.6
16. EclipseLink with H2 server5.5
17. EclipseLink with PostgreSQL server5.1

The Least Efficient (the Slowest):

18. Hibernate with PostgreSQL server4.4
19. DataNucleus with Derby embedded4.0
20. Hibernate with H2 server3.8
21. DataNucleus with PostgreSQL server3.2
22. DataNucleus with Derby server2.5
23. DataNucleus with MySQL server1.2
24. OpenJPA with MySQL server1.2
25. Hibernate with MySQL server1.2
26. DataNucleus with H2 embedded0.91
27. DataNucleus with H2 server0.75
28. EclipseLink with MySQL server0.39
29. DataNucleus with HSQLDB embedded0.32
30. Hibernate with SQLite embedded0.21
31. EclipseLink with SQLite embedded0.0008
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.