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
DataNucleusfailedfailedfailed failed failedfailed0.640.46 
EclipseLink13.112.614.4failed  6.05.11.522.5 
Hibernate7.110.113.9failed  4.64.01.818.0 
OpenJPA11.410.411.8   5.94.81.714.8 
ObjectDB     100    68.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 embedded100
2. ObjectDB server68.6
3. EclipseLink with PostgreSQL server22.5
4. Hibernate with PostgreSQL server18.0
5. OpenJPA with PostgreSQL server14.8
6. EclipseLink with HSQLDB embedded14.4
7. Hibernate with HSQLDB embedded13.9
8. EclipseLink with Derby embedded13.1
9. EclipseLink with H2 embedded12.6
10. OpenJPA with HSQLDB embedded11.8
11. OpenJPA with Derby embedded11.4
12. OpenJPA with H2 embedded10.4
13. Hibernate with H2 embedded10.1
14. Hibernate with Derby embedded7.1
15. EclipseLink with Derby server6.0
16. OpenJPA with Derby server5.9
17. EclipseLink with H2 server5.1

The Least Efficient (the Slowest):

18. OpenJPA with H2 server4.8
19. Hibernate with Derby server4.6
20. Hibernate with H2 server4.0
21. Hibernate with MySQL server1.8
22. OpenJPA with MySQL server1.7
23. EclipseLink with MySQL server1.5
24. DataNucleus with MySQL server0.64
25. DataNucleus with PostgreSQL server0.46
26. DataNucleus with Derby embedded0.0000
27. DataNucleus with H2 embedded0.0000
28. DataNucleus with HSQLDB embedded0.0000
29. DataNucleus with DB4O embedded0.0000
30. DataNucleus with Derby server0.0000
31. DataNucleus with H2 server0.0000
32. EclipseLink with SQLite embedded0.0000
33. Hibernate with SQLite 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
DataNucleus222 2 2211 
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 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.