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 | DB4O embedded | ObjectDB embedded | Derby server | H2 server | MySQL server | PostgreSQL server | ObjectDB server |
---|---|---|---|---|---|---|---|---|---|---|---|
DataNucleus | 8.8 | 7.9 | 5.7 | 0.68 | 5.8 | 2.7 | 2.7 | 7.7 | |||
EclipseLink | 17.4 | 17.8 | 18.6 | 0.74 | 9.1 | 4.3 | 2.7 | 12.1 | |||
Hibernate | 11.2 | 11.2 | 15.4 | 0.72 | 6.9 | 3.2 | 3.6 | 10.7 | |||
OpenJPA | 12.4 | 11.6 | 13.0 | 6.4 | 3.1 | 4.8 | 6.3 | ||||
ObjectDB | 100 | 38.2 |
Performance comparison chart - The Y-Axis represents normalized score in logarithmic scale - higher is better:
Performance comparison chart - The Y-Axis represents normalized score in linear scale - higher is better:
Best and Worst JPA/Database Performer in this comparison
The Most Efficient (the Fastest):
1. | ObjectDB embedded | 100 |
2. | ObjectDB server | 38.2 |
3. | EclipseLink with HSQLDB embedded | 18.6 |
4. | EclipseLink with H2 embedded | 17.8 |
5. | EclipseLink with Derby embedded | 17.4 |
6. | Hibernate with HSQLDB embedded | 15.4 |
7. | OpenJPA with HSQLDB embedded | 13.0 |
8. | OpenJPA with Derby embedded | 12.4 |
9. | EclipseLink with PostgreSQL server | 12.1 |
10. | OpenJPA with H2 embedded | 11.6 |
11. | Hibernate with H2 embedded | 11.2 |
12. | Hibernate with Derby embedded | 11.2 |
13. | Hibernate with PostgreSQL server | 10.7 |
14. | EclipseLink with Derby server | 9.1 |
15. | DataNucleus with Derby embedded | 8.8 |
16. | DataNucleus with H2 embedded | 7.9 |
17. | DataNucleus with PostgreSQL server | 7.7 |
The Least Efficient (the Slowest):
18. | Hibernate with Derby server | 6.9 |
19. | OpenJPA with Derby server | 6.4 |
20. | OpenJPA with PostgreSQL server | 6.3 |
21. | DataNucleus with Derby server | 5.8 |
22. | DataNucleus with HSQLDB embedded | 5.7 |
23. | OpenJPA with MySQL server | 4.8 |
24. | EclipseLink with H2 server | 4.3 |
25. | Hibernate with MySQL server | 3.6 |
26. | Hibernate with H2 server | 3.2 |
27. | OpenJPA with H2 server | 3.1 |
28. | DataNucleus with MySQL server | 2.7 |
29. | DataNucleus with H2 server | 2.7 |
30. | EclipseLink with MySQL server | 2.7 |
31. | EclipseLink with SQLite embedded | 0.74 |
32. | Hibernate with SQLite embedded | 0.72 |
33. | DataNucleus with DB4O embedded | 0.68 |
Total number of failed test runs (out of 10 tests in total) in this page results
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 10 concrete test results
- Basic Person Test - Persistence Operations - Few Entities (5/100)
- Basic Person Test - Persistence Operations - Many Entities (5000)
- Basic Person Test - Retrieval Operations - Few Entities (5/100)
- Basic Person Test - Retrieval Operations - Many Entities (5000)
- Basic Person Test - Query Operations - Few Entities (5/100)
- Basic Person Test - Query Operations - Many Entities (5000)
- Basic Person Test - Update Operations - Few Entities (5/100)
- Basic Person Test - Update Operations - Many Entities (5000)
- Basic Person Test - Removal Operations - Few Entities (5/100)
- Basic Person Test - Removal Operations - Many Entities (5000)