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
DataNucleus5.921.023.5 failed 4.17.24.413.1 
EclipseLink6.720.822.01.1  5.07.14.823.1 
Hibernate7.124.225.2failed  5.45.95.222.8 
OpenJPA6.022.216.9   4.95.94.916.2 
ObjectDB     100    88.0

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 server88.0
3. Hibernate with HSQLDB embedded25.2
4. Hibernate with H2 embedded24.2
5. DataNucleus with HSQLDB embedded23.5
6. EclipseLink with PostgreSQL server23.1
7. Hibernate with PostgreSQL server22.8
8. OpenJPA with H2 embedded22.2
9. EclipseLink with HSQLDB embedded22.0
10. DataNucleus with H2 embedded21.0
11. EclipseLink with H2 embedded20.8
12. OpenJPA with HSQLDB embedded16.9
13. OpenJPA with PostgreSQL server16.2
14. DataNucleus with PostgreSQL server13.1
15. DataNucleus with H2 server7.2
16. EclipseLink with H2 server7.1
17. Hibernate with Derby embedded7.1

The Least Efficient (the Slowest):

18. EclipseLink with Derby embedded6.7
19. OpenJPA with Derby embedded6.0
20. DataNucleus with Derby embedded5.9
21. OpenJPA with H2 server5.9
22. Hibernate with H2 server5.9
23. Hibernate with Derby server5.4
24. Hibernate with MySQL server5.2
25. EclipseLink with Derby server5.0
26. OpenJPA with Derby server4.9
27. OpenJPA with MySQL server4.9
28. EclipseLink with MySQL server4.8
29. DataNucleus with MySQL server4.4
30. DataNucleus with Derby server4.1
31. EclipseLink with SQLite embedded1.1
32. DataNucleus with DB4O 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
DataNucleusAll PassedAll PassedAll Passed 2 All PassedAll PassedAll PassedAll Passed 
EclipseLinkAll PassedAll PassedAll PassedAll Passed  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.