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 persistence 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
DataNucleus1.57.75.7 failed 0.571.71.10.84 
EclipseLink1.916.218.00.57  1.84.11.53.4 
Hibernate1.818.714.70.61  1.73.71.42.9 
OpenJPA1.46.76.7   0.670.970.630.89 
ObjectDB     94.2    94.6

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 server94.6
2. ObjectDB embedded94.2
3. Hibernate with H2 embedded18.7
4. EclipseLink with HSQLDB embedded18.0
5. EclipseLink with H2 embedded16.2
6. Hibernate with HSQLDB embedded14.7
7. DataNucleus with H2 embedded7.7
8. OpenJPA with H2 embedded6.7
9. OpenJPA with HSQLDB embedded6.7
10. DataNucleus with HSQLDB embedded5.7
11. EclipseLink with H2 server4.1
12. Hibernate with H2 server3.7
13. EclipseLink with PostgreSQL server3.4
14. Hibernate with PostgreSQL server2.9
15. EclipseLink with Derby embedded1.9
16. EclipseLink with Derby server1.8
17. Hibernate with Derby embedded1.8

The Least Efficient (the Slowest):

18. DataNucleus with H2 server1.7
19. Hibernate with Derby server1.7
20. EclipseLink with MySQL server1.5
21. DataNucleus with Derby embedded1.5
22. OpenJPA with Derby embedded1.4
23. Hibernate with MySQL server1.4
24. DataNucleus with MySQL server1.1
25. OpenJPA with H2 server0.97
26. OpenJPA with PostgreSQL server0.89
27. DataNucleus with PostgreSQL server0.84
28. OpenJPA with Derby server0.67
29. OpenJPA with MySQL server0.63
30. Hibernate with SQLite embedded0.61
31. DataNucleus with Derby server0.57
32. EclipseLink with SQLite embedded0.57
33. DataNucleus with DB4O embedded0.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 PassedAll Passed  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll PassedAll Passed 
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.