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.

Comparison of JPA/Database speed - the averages (normalized score, higher is better)

 Derby
embedded
H2
embedded
HSQLDB
embedded
SQLite
embedded
ObjectDB
embedded
Derby
server
H2
server
MySQL
server
PostgreSQL
server
ObjectDB
server
DataNucleus7.45.14.3  2.71.32.65.6 
EclipseLink12.916.414.61.8 5.43.36.113.5 
Hibernate10.410.711.03.2 5.83.45.510.0 
OpenJPA11.110.18.4  4.83.06.610.0 
ObjectDB    98.8    57.8

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 embedded98.8
2. ObjectDB server57.8
3. EclipseLink with H2 embedded16.4
4. EclipseLink with HSQLDB embedded14.6
5. EclipseLink with PostgreSQL server13.5
6. EclipseLink with Derby embedded12.9
7. OpenJPA with Derby embedded11.1
8. Hibernate with HSQLDB embedded11.0
9. Hibernate with H2 embedded10.7
10. Hibernate with Derby embedded10.4
11. OpenJPA with H2 embedded10.1
12. Hibernate with PostgreSQL server10.0
13. OpenJPA with PostgreSQL server10.0
14. OpenJPA with HSQLDB embedded8.4
15. DataNucleus with Derby embedded7.4
16. OpenJPA with MySQL server6.6

The Least Efficient (the Slowest):

17. EclipseLink with MySQL server6.1
18. Hibernate with Derby server5.8
19. DataNucleus with PostgreSQL server5.6
20. Hibernate with MySQL server5.5
21. EclipseLink with Derby server5.4
22. DataNucleus with H2 embedded5.1
23. OpenJPA with Derby server4.8
24. DataNucleus with HSQLDB embedded4.3
25. Hibernate with H2 server3.4
26. EclipseLink with H2 server3.3
27. Hibernate with SQLite embedded3.2
28. OpenJPA with H2 server3.0
29. DataNucleus with Derby server2.7
30. DataNucleus with MySQL server2.6
31. EclipseLink with SQLite embedded1.8
32. DataNucleus with H2 server1.3

Total number of failed test runs (out of 58 tests in total) in this page results

 Derby
embedded
H2
embedded
HSQLDB
embedded
SQLite
embedded
ObjectDB
embedded
Derby
server
H2
server
MySQL
server
PostgreSQL
server
ObjectDB
server
DataNucleus14513  15756 
EclipseLink22235 2223 
HibernateAll PassedAll PassedAll Passed4 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.

The results above are averages of the following 58 concrete test results