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 query 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
DataNucleus23.33.10.95 failed 20.72.74.726.9 
EclipseLink33.62.91.91.2  25.62.50.9531.6 
Hibernate28.12.82.20.65  19.12.36.030.8 
OpenJPA29.83.11.9   17.32.45.8failed 
ObjectDB     100    32.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. EclipseLink with Derby embedded33.6
3. ObjectDB server32.4
4. EclipseLink with PostgreSQL server31.6
5. Hibernate with PostgreSQL server30.8
6. OpenJPA with Derby embedded29.8
7. Hibernate with Derby embedded28.1
8. DataNucleus with PostgreSQL server26.9
9. EclipseLink with Derby server25.6
10. DataNucleus with Derby embedded23.3
11. DataNucleus with Derby server20.7
12. Hibernate with Derby server19.1
13. OpenJPA with Derby server17.3
14. Hibernate with MySQL server6.0
15. OpenJPA with MySQL server5.8
16. DataNucleus with MySQL server4.7
17. DataNucleus with H2 embedded3.1

The Least Efficient (the Slowest):

18. OpenJPA with H2 embedded3.1
19. EclipseLink with H2 embedded2.9
20. Hibernate with H2 embedded2.8
21. DataNucleus with H2 server2.7
22. EclipseLink with H2 server2.5
23. OpenJPA with H2 server2.4
24. Hibernate with H2 server2.3
25. Hibernate with HSQLDB embedded2.2
26. EclipseLink with HSQLDB embedded1.9
27. OpenJPA with HSQLDB embedded1.9
28. EclipseLink with SQLite embedded1.2
29. DataNucleus with HSQLDB embedded0.95
30. EclipseLink with MySQL server0.95
31. Hibernate with SQLite embedded0.65
32. DataNucleus with DB4O embedded0.0000
33. OpenJPA with PostgreSQL server0.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 Passed1  All PassedAll PassedAll PassedAll Passed 
HibernateAll PassedAll PassedAll PassedAll Passed  All PassedAll PassedAll PassedAll Passed 
OpenJPAAll PassedAll PassedAll Passed   All PassedAll PassedAll Passed2 
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.