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 update 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.08.78.7 0.012 0.932.30.611.5 
EclipseLink8.315.715.00.0016  3.84.30.449.3 
Hibernate5.310.112.70.094  3.23.10.647.8 
OpenJPA5.36.37.3   1.72.30.426.3 
ObjectDB     100    31.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 server31.4
3. EclipseLink with H2 embedded15.7
4. EclipseLink with HSQLDB embedded15.0
5. Hibernate with HSQLDB embedded12.7
6. Hibernate with H2 embedded10.1
7. EclipseLink with PostgreSQL server9.3
8. DataNucleus with HSQLDB embedded8.7
9. DataNucleus with H2 embedded8.7
10. EclipseLink with Derby embedded8.3
11. Hibernate with PostgreSQL server7.8
12. OpenJPA with HSQLDB embedded7.3
13. OpenJPA with H2 embedded6.3
14. OpenJPA with PostgreSQL server6.3
15. Hibernate with Derby embedded5.3
16. OpenJPA with Derby embedded5.3
17. EclipseLink with H2 server4.3

The Least Efficient (the Slowest):

18. DataNucleus with Derby embedded4.0
19. EclipseLink with Derby server3.8
20. Hibernate with Derby server3.2
21. Hibernate with H2 server3.1
22. DataNucleus with H2 server2.3
23. OpenJPA with H2 server2.3
24. OpenJPA with Derby server1.7
25. DataNucleus with PostgreSQL server1.5
26. DataNucleus with Derby server0.93
27. Hibernate with MySQL server0.64
28. DataNucleus with MySQL server0.61
29. EclipseLink with MySQL server0.44
30. OpenJPA with MySQL server0.42
31. Hibernate with SQLite embedded0.094
32. DataNucleus with DB4O embedded0.012
33. EclipseLink with SQLite embedded0.0016

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