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
DataNucleus6.24.34.4  2.81.02.15.7 
EclipseLink14.612.36.11.9 4.13.47.410.4 
Hibernate11.412.515.12.7 5.23.17.710.7 
OpenJPA5.40.905.9  2.81.15.54.1 
ObjectDB    99.1    57.9

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 embedded99.1
2. ObjectDB server57.9
3. Hibernate with HSQLDB embedded15.1
4. EclipseLink with Derby embedded14.6
5. Hibernate with H2 embedded12.5
6. EclipseLink with H2 embedded12.3
7. Hibernate with Derby embedded11.4
8. Hibernate with PostgreSQL server10.7
9. EclipseLink with PostgreSQL server10.4
10. Hibernate with MySQL server7.7
11. EclipseLink with MySQL server7.4
12. DataNucleus with Derby embedded6.2
13. EclipseLink with HSQLDB embedded6.1
14. OpenJPA with HSQLDB embedded5.9
15. DataNucleus with PostgreSQL server5.7
16. OpenJPA with MySQL server5.5

The Least Efficient (the Slowest):

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

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
DataNucleus1543  15756 
EclipseLink224236 22All Passed2 
HibernateAll PassedAll Passed66 All PassedAll PassedAll Passed1 
OpenJPA101010  382295 
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